org.apache.poi.hwpf.sprm
Class SprmBuffer
java.lang.Object
org.apache.poi.hwpf.sprm.SprmBuffer
- All Implemented Interfaces:
- java.lang.Cloneable
@Internal
public final class SprmBuffer
- extends java.lang.Object
- implements java.lang.Cloneable
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SprmBuffer
@Deprecated
public SprmBuffer()
- Deprecated. Use
SprmBuffer(int)
instead
SprmBuffer
@Deprecated
public SprmBuffer(byte[] buf)
- Deprecated. Use
SprmBuffer(byte[],int)
instead
SprmBuffer
@Deprecated
public SprmBuffer(byte[] buf,
boolean istd)
- Deprecated. Use
SprmBuffer(byte[],boolean,int)
instead
SprmBuffer
public SprmBuffer(byte[] buf,
boolean istd,
int sprmsStartOffset)
SprmBuffer
public SprmBuffer(byte[] buf,
int _sprmsStartOffset)
SprmBuffer
public SprmBuffer(int sprmsStartOffset)
addSprm
public void addSprm(short opcode,
byte operand)
addSprm
public void addSprm(short opcode,
byte[] operand)
addSprm
public void addSprm(short opcode,
int operand)
addSprm
public void addSprm(short opcode,
short operand)
append
public void append(byte[] grpprl)
append
public void append(byte[] grpprl,
int offset)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
findSprm
public SprmOperation findSprm(short opcode)
toByteArray
public byte[] toByteArray()
iterator
public SprmIterator iterator()
updateSprm
public void updateSprm(short opcode,
byte operand)
updateSprm
public void updateSprm(short opcode,
boolean operand)
updateSprm
public void updateSprm(short opcode,
int operand)
updateSprm
public void updateSprm(short opcode,
short operand)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright 2012 The Apache Software Foundation or
its licensors, as applicable.