writer2latex.office
Class SVMReader
java.lang.Object
writer2latex.office.SVMReader
public final class SVMReader
- extends java.lang.Object
This class contains a static method to extract EPS data from an SVM file
Method Summary |
private static int |
getInt(byte[] blob,
int pos)
|
private static int |
getShort(byte[] blob,
int pos)
|
static boolean |
readSVM(byte[] blob,
int[] offlen)
Determine if this SVM contains an EPS document and retrieve start and
end positions if so. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVMReader
public SVMReader()
readSVM
public static final boolean readSVM(byte[] blob,
int[] offlen)
- Determine if this SVM contains an EPS document and retrieve start and
end positions if so.
- Parameters:
blob
- byte array containing SVM fileofflen
- integer array to retrieve the offset into the SVM file
(offlen[0]) and the length (offlen[1]) of the EPS
document. If the method returns false, the array
will be unchanged.
- Returns:
- returns true if the SVM contains an EPS document
getInt
private static int getInt(byte[] blob,
int pos)
getShort
private static int getShort(byte[] blob,
int pos)