org.apache.batik.apps.rasterizer

Interface SVGConverterSource

public interface SVGConverterSource

Interface used to handle both Files and URLs in the SVGConverter
Method Summary
StringgetName()
Returns the name of the source.
StringgetURI()
Returns a URI string corresponding to this source
booleanisReadable()
Checks if source can be read
booleanisSameAs(String srcStr)
Checks if same as source described by srcStr
InputStreamopenStream()
Gets a TranscoderInput for that source

Method Detail

getName

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

getURI

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

isReadable

public boolean isReadable()
Checks if source can be read

isSameAs

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

openStream

public InputStream openStream()
Gets a TranscoderInput for that source
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.