Uses of Class
edu.upf.taln.dri.lib.exception.DRIexception
-
Packages that use DRIexception Package Description edu.upf.taln.dri.lib edu.upf.taln.dri.lib.exception edu.upf.taln.dri.lib.loader edu.upf.taln.dri.lib.model -
-
Uses of DRIexception in edu.upf.taln.dri.lib
Methods in edu.upf.taln.dri.lib that throw DRIexception Modifier and Type Method Description static Document
Factory. createNewDocument()
Instantiates a newDocument
, without any data loaded.static Document
Factory. createNewDocument(File file)
Instantiates a newDocument
, populating it with the XML string-serialized contents read from a file.static Document
Factory. createNewDocument(String absoluteFilePath)
Instantiates a newDocument
, populating it with the XML string-serialized contents read from a file.static JATSloader
Factory. getJATSloader()
Get the JATS loader (singleton) by the interfaceJATSloader
to invoke proper methods to generateDocument
s from JATS XML filesstatic PDFloader
Factory. getPDFloader()
static PlainTextLoader
Factory. getPlainTextLoader()
Get the plain text loader (singleton) by the interfacePlainTextLoader
to invoke proper methods to generateDocument
s from plain textstatic void
Factory. initFramework()
This method should be invoked in order to initialize the resources of Dr. -
Uses of DRIexception in edu.upf.taln.dri.lib.exception
Subclasses of DRIexception in edu.upf.taln.dri.lib.exception Modifier and Type Class Description class
InternalProcessingException
Exceptions related to some internal data processing issue.class
InvalidParameterException
Exception related to invalid parameters passed to methods.class
ResourceAccessException
Exception related to the access of files and resources. -
Uses of DRIexception in edu.upf.taln.dri.lib.loader
Methods in edu.upf.taln.dri.lib.loader that throw DRIexception Modifier and Type Method Description Document
JATSloader. parseJATS(byte[] JATSbyteArray, String JATSfileName)
Convert a JATS XML file to aDocument
Document
JATSloader. parseJATS(File file)
Convert a JATS XML file to aDocument
Document
JATSloader. parseJATS(String absoluteFilePath)
Convert a JATS XML file to aDocument
Document
JATSloader. parseJATS(URL url)
Convert a JATS XML file to aDocument
Document
JATSloaderImpl. parseJATS(byte[] JATSbyteArray, String JATSfileName)
Document
JATSloaderImpl. parseJATS(File file)
Document
JATSloaderImpl. parseJATS(String absoluteFilePath)
Document
JATSloaderImpl. parseJATS(URL url)
Document
GROBIDloaderImpl. parsePDF(byte[] PDFbyteArray, String PDFfileName)
Document
GROBIDloaderImpl. parsePDF(File file)
Document
GROBIDloaderImpl. parsePDF(String absoluteFilePath)
Document
GROBIDloaderImpl. parsePDF(URL url)
Document
PDFEXTloaderImpl. parsePDF(byte[] PDFbyteArray, String PDFfileName)
Document
PDFEXTloaderImpl. parsePDF(File file)
Document
PDFEXTloaderImpl. parsePDF(String absoluteFilePath)
Document
PDFEXTloaderImpl. parsePDF(URL url)
Document
PDFloader. parsePDF(byte[] PDFbyteArray, String PDFfileName)
Convert a PDF file to aDocument
Document
PDFloader. parsePDF(File file)
Convert a PDF file to aDocument
Document
PDFloader. parsePDF(String absoluteFilePath)
Convert a PDF file to aDocument
Document
PDFloader. parsePDF(URL url)
Convert a PDF file to aDocument
Document
PDFXloaderImpl. parsePDF(byte[] PDFbyteArray, String PDFfileName)
Document
PDFXloaderImpl. parsePDF(File file)
Document
PDFXloaderImpl. parsePDF(String absoluteFilePath)
Document
PDFXloaderImpl. parsePDF(URL url)
Document
PlainTextLoader. parsePlainText(File file)
Convert a plain text to aDocument
IMPORTANT: the text should be UTF-8 encodedDocument
PlainTextLoader. parsePlainText(String absoluteFilePath)
Convert a plain text to aDocument
IMPORTANT: the text should be UTF-8 encodedDocument
PlainTextLoader. parsePlainText(URL url)
Convert a plain text to aDocument
IMPORTANT: the text should be UTF-8 encodedDocument
PlainTextLoaderImpl. parsePlainText(File file)
Document
PlainTextLoaderImpl. parsePlainText(String absoluteFilePath)
Document
PlainTextLoaderImpl. parsePlainText(URL url)
Document
PlainTextLoader. parseString(String textToLoad, String docName)
Convert a plain text to aDocument
IMPORTANT: the text should be UTF-8 encodedDocument
PlainTextLoaderImpl. parseString(String textToLoad, String docName)
-
Uses of DRIexception in edu.upf.taln.dri.lib.model
Methods in edu.upf.taln.dri.lib.model that throw DRIexception Modifier and Type Method Description DependencyGraph
Document. extractDocumentGraph(SentenceSelectorENUM sentenceSel)
Get the graph representing a portion of a document.DependencyGraph
DocumentImpl. extractDocumentGraph(SentenceSelectorENUM sentenceSel)
DependencyGraph
Document. extractSentenceGraph(int sentenceId, SentGraphTypeENUM graphType)
Get the graph representing a sentence.DependencyGraph
DocumentImpl. extractSentenceGraph(int sentenceId, SentGraphTypeENUM graphType)
List<CandidateTermOcc>
Document. extractTerminology()
Load the list of terms extracted from the document.List<CandidateTermOcc>
DocumentImpl. extractTerminology()
void
Document. loadXML(File file)
Load the XML string-serialized contents of the document (UTF-8) from a filevoid
Document. loadXML(String absoluteFilePath)
Load the XML string-serialized contents of the document (UTF-8) from a file, by specifying the file's absolute pathvoid
DocumentImpl. loadXML(File file)
void
DocumentImpl. loadXML(String absoluteFilePath)
void
Document. loadXMLString(String XMLStringContents)
Load the XML string-serialized contents of the document from a string (UTF-8 char encoding)void
DocumentImpl. loadXMLString(String XMLStringContents)
-