Interface SVGConverterSource

All Known Implementing Classes:
SVGConverterFileSource, SVGConverterURLSource

public interface SVGConverterSource
Interface used to handle both Files and URLs in the SVGConverter
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the source.
    Returns a URI string corresponding to this source
    boolean
    Checks if source can be read
    boolean
    isSameAs(String srcStr)
    Checks if same as source described by srcStr
    Gets a TranscoderInput for that source
  • Method Details

    • getName

      String getName()
      Returns the name of the source. That would be the name for a File or URL
    • openStream

      InputStream openStream() throws IOException
      Gets a TranscoderInput for that source
      Throws:
      IOException
    • isSameAs

      boolean isSameAs(String srcStr)
      Checks if same as source described by srcStr
    • isReadable

      boolean isReadable()
      Checks if source can be read
    • getURI

      String getURI()
      Returns a URI string corresponding to this source