Package org.apache.poi.hwpf.model
Class BytePropertyNode<T extends BytePropertyNode<T>>
- java.lang.Object
-
- org.apache.poi.hwpf.model.PropertyNode<T>
-
- org.apache.poi.hwpf.model.BytePropertyNode<T>
-
- All Implemented Interfaces:
java.lang.Comparable<T>
,org.apache.poi.common.Duplicatable
@Deprecated public abstract class BytePropertyNode<T extends BytePropertyNode<T>> extends PropertyNode<T>
Deprecated.byte positions shall not be saved in memoryNormally PropertyNodes only ever work in characters, but a few cases actually store bytes, and this lets everything still work despite that. It handles the conversion as required between bytes and characters.
-
-
Field Summary
-
Fields inherited from class org.apache.poi.hwpf.model.PropertyNode
EndComparator, StartComparator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getEndBytes()
Deprecated.Though bytes are actually stored in file, it is advised to use char positions for all operations.int
getStartBytes()
Deprecated.Though bytes are actually stored in file, it is advised to use char positions for all operations.-
Methods inherited from class org.apache.poi.hwpf.model.PropertyNode
adjustForDelete, compareTo, copy, equals, getEnd, getStart, hashCode, setEnd, setStart
-
-
-
-
Method Detail
-
getStartBytes
@Deprecated public int getStartBytes()
Deprecated.Though bytes are actually stored in file, it is advised to use char positions for all operations. Including save operations, because only char positions are preserved.
-
getEndBytes
@Deprecated public int getEndBytes()
Deprecated.Though bytes are actually stored in file, it is advised to use char positions for all operations. Including save operations, because only char positions are preserved.
-
-