Class 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

      Constructors 
      Constructor Description
      SVMReader()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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