Class SVGConverterURLSource

    • Constructor Summary

      Constructors 
      Constructor Description
      SVGConverterURLSource​(java.lang.String url)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getName()
      Returns the name of the source.
      java.lang.String getURI()
      Returns a URI string corresponding to this source
      int hashCode()  
      boolean isReadable()
      Checks if source can be read
      boolean isSameAs​(java.lang.String srcStr)
      Checks if same as source described by srcStr
      java.io.InputStream openStream()
      Gets a TranscoderInput for that source
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • SVG_EXTENSION

        protected static final java.lang.String SVG_EXTENSION
        SVG file extension
        See Also:
        Constant Field Values
      • ERROR_INVALID_URL

        public static final java.lang.String ERROR_INVALID_URL
        See Also:
        Constant Field Values
      • name

        java.lang.String name
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • openStream

        public java.io.InputStream openStream()
                                       throws java.io.IOException
        Description copied from interface: SVGConverterSource
        Gets a TranscoderInput for that source
        Specified by:
        openStream in interface SVGConverterSource
        Throws:
        java.io.IOException
      • isSameAs

        public boolean isSameAs​(java.lang.String srcStr)
        Description copied from interface: SVGConverterSource
        Checks if same as source described by srcStr
        Specified by:
        isSameAs in interface SVGConverterSource
      • getName

        public java.lang.String getName()
        Description copied from interface: SVGConverterSource
        Returns the name of the source. That would be the name for a File or URL
        Specified by:
        getName in interface SVGConverterSource