Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`SVMReader()`

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`

Constructor Detail

### SVMReader

    public SVMReader()

Method Detail

### 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 file
    `offlen` - 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD