public interface SquiggleInputHandler
Modifier and Type | Method and Description |
---|---|
boolean |
accept(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
|
String |
getDescription()
Returns a description for this handler
|
String[] |
getHandledExtensions()
Returns the list of file extensions handled by this handler
|
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
|
String[] getHandledMimeTypes()
String[] getHandledExtensions()
String getDescription()
boolean accept(File f)
boolean accept(ParsedURL purl)
purl
- URL describing the candidate inputvoid handle(ParsedURL purl, JSVGViewerFrame svgFrame) throws Exception
Exception
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.