Class ClasspathMacroURIHandler

java.lang.Object
ca.phon.app.opgraph.library.ClasspathMacroURIHandler
All Implemented Interfaces:
ca.phon.opgraph.library.handlers.URIHandler<List<ca.phon.opgraph.library.NodeData>>

public class ClasspathMacroURIHandler extends Object implements ca.phon.opgraph.library.handlers.URIHandler<List<ca.phon.opgraph.library.NodeData>>
Load macros from classpath (used in PhonNodeLibrary)
  • Constructor Details

    • ClasspathMacroURIHandler

      public ClasspathMacroURIHandler()
  • Method Details

    • handlesURI

      public boolean handlesURI(URI uri)
      Specified by:
      handlesURI in interface ca.phon.opgraph.library.handlers.URIHandler<List<ca.phon.opgraph.library.NodeData>>
    • load

      public List<ca.phon.opgraph.library.NodeData> load(URI uri) throws IOException
      Specified by:
      load in interface ca.phon.opgraph.library.handlers.URIHandler<List<ca.phon.opgraph.library.NodeData>>
      Throws:
      IOException