public interface SquiggleInputHandler
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File f)
Returns true if the input file can be handled by the handler
|
boolean |
accept(ParsedURL purl)
Returns true if the input URI can be handled by the handler
|
java.lang.String |
getDescription()
Returns a description for this handler
|
java.lang.String[] |
getHandledExtensions()
Returns the list of file extensions handled by this handler
|
java.lang.String[] |
getHandledMimeTypes()
Returns the list of mime types handled by this handler.
|
void |
handle(ParsedURL purl,
JSVGViewerFrame svgFrame)
Handles the given input for the given JSVGViewerFrame
|
java.lang.String[] getHandledMimeTypes()
java.lang.String[] getHandledExtensions()
java.lang.String getDescription()
boolean accept(java.io.File f)
boolean accept(ParsedURL purl)
purl
- URL describing the candidate inputvoid handle(ParsedURL purl, JSVGViewerFrame svgFrame) throws java.lang.Exception
java.lang.Exception
Copyright © 2022 Apache Software Foundation. All Rights Reserved.