corpus-services
1.0
|
Public Member Functions | |
CorpusIO () | |
String | CorpusData2String (CorpusData cd) throws TransformerException, ParserConfigurationException, SAXException, IOException, XPathExpressionException |
void | write (CorpusData cd, URL url) throws TransformerException, ParserConfigurationException, SAXException, IOException, XPathExpressionException |
void | write (String s, URL url) throws FileNotFoundException, IOException |
void | write (Document doc, URL url) throws IOException, TransformerException, ParserConfigurationException, ParserConfigurationException, UnsupportedEncodingException, UnsupportedEncodingException, SAXException, XPathExpressionException |
void | write (org.w3c.dom.Document doc, URL url) throws IOException, TransformerException, ParserConfigurationException, ParserConfigurationException, UnsupportedEncodingException, UnsupportedEncodingException, SAXException, XPathExpressionException |
void | outappend (String a) |
void | write (Collection< CorpusData > cdc, URL url) |
CorpusData | readFileURL (URL url, Collection< Class<?extends CorpusData >> clcds) throws SAXException, JexmaraldaException, ClassNotFoundException |
CorpusData | readFileURL (URL url) throws SAXException, JexmaraldaException, ClassNotFoundException |
Collection< CorpusData > | read (URL url) throws URISyntaxException, IOException, SAXException, JexmaraldaException, ClassNotFoundException |
Collection< CorpusData > | read (URL url, Collection< Class<?extends CorpusData >> chosencdc) throws URISyntaxException, IOException, SAXException, JexmaraldaException, ClassNotFoundException |
String | readInternalResourceAsString (String path2resource) throws JDOMException, IOException |
String | readExternalResourceAsString (String path2resource) throws JDOMException, IOException, URISyntaxException |
Collection< URL > | URLtoList (URL url) throws URISyntaxException, IOException |
void | writePrettyPrinted (CorpusData cd, URL url) throws TransformerException, ParserConfigurationException, SAXException, IOException, XPathExpressionException |
void | copyInternalBinaryFile (String internalPath, URL url) throws FileNotFoundException, IOException |
Static Public Member Functions | |
static boolean | isLocalFile (java.net.URL url) |
static boolean | isDirectory (java.net.URL url) throws URISyntaxException |
static boolean | hasHost (java.net.URL url) |
Still to do
Definition at line 38 of file CorpusIO.java.
de.uni_hamburg.corpora.CorpusIO.CorpusIO | ( | ) |
Definition at line 53 of file CorpusIO.java.
void de.uni_hamburg.corpora.CorpusIO.copyInternalBinaryFile | ( | String | internalPath, |
URL | url | ||
) | throws FileNotFoundException, IOException |
Definition at line 262 of file CorpusIO.java.
String de.uni_hamburg.corpora.CorpusIO.CorpusData2String | ( | CorpusData | cd | ) | throws TransformerException, ParserConfigurationException, SAXException, IOException, XPathExpressionException |
Definition at line 62 of file CorpusIO.java.
|
static |
Definition at line 253 of file CorpusIO.java.
|
static |
Whether the URL is a directory in the local file system.
Definition at line 248 of file CorpusIO.java.
|
static |
Whether the URL is a file in the local file system.
Definition at line 240 of file CorpusIO.java.
void de.uni_hamburg.corpora.CorpusIO.outappend | ( | String | a | ) |
Definition at line 96 of file CorpusIO.java.
Collection<CorpusData> de.uni_hamburg.corpora.CorpusIO.read | ( | URL | url | ) | throws URISyntaxException, IOException, SAXException, JexmaraldaException, ClassNotFoundException |
Definition at line 168 of file CorpusIO.java.
Collection<CorpusData> de.uni_hamburg.corpora.CorpusIO.read | ( | URL | url, |
Collection< Class<?extends CorpusData >> | chosencdc | ||
) | throws URISyntaxException, IOException, SAXException, JexmaraldaException, ClassNotFoundException |
Definition at line 180 of file CorpusIO.java.
String de.uni_hamburg.corpora.CorpusIO.readExternalResourceAsString | ( | String | path2resource | ) | throws JDOMException, IOException, URISyntaxException |
Definition at line 201 of file CorpusIO.java.
CorpusData de.uni_hamburg.corpora.CorpusIO.readFileURL | ( | URL | url, |
Collection< Class<?extends CorpusData >> | clcds | ||
) | throws SAXException, JexmaraldaException, ClassNotFoundException |
Definition at line 125 of file CorpusIO.java.
CorpusData de.uni_hamburg.corpora.CorpusIO.readFileURL | ( | URL | url | ) | throws SAXException, JexmaraldaException, ClassNotFoundException |
Definition at line 163 of file CorpusIO.java.
String de.uni_hamburg.corpora.CorpusIO.readInternalResourceAsString | ( | String | path2resource | ) | throws JDOMException, IOException |
Definition at line 192 of file CorpusIO.java.
Collection<URL> de.uni_hamburg.corpora.CorpusIO.URLtoList | ( | URL | url | ) | throws URISyntaxException, IOException |
Definition at line 210 of file CorpusIO.java.
void de.uni_hamburg.corpora.CorpusIO.write | ( | CorpusData | cd, |
URL | url | ||
) | throws TransformerException, ParserConfigurationException, SAXException, IOException, XPathExpressionException |
Definition at line 66 of file CorpusIO.java.
void de.uni_hamburg.corpora.CorpusIO.write | ( | String | s, |
URL | url | ||
) | throws FileNotFoundException, IOException |
Definition at line 71 of file CorpusIO.java.
void de.uni_hamburg.corpora.CorpusIO.write | ( | Document | doc, |
URL | url | ||
) | throws IOException, TransformerException, ParserConfigurationException, ParserConfigurationException, UnsupportedEncodingException, UnsupportedEncodingException, SAXException, XPathExpressionException |
Definition at line 81 of file CorpusIO.java.
void de.uni_hamburg.corpora.CorpusIO.write | ( | org.w3c.dom.Document | doc, |
URL | url | ||
) | throws IOException, TransformerException, ParserConfigurationException, ParserConfigurationException, UnsupportedEncodingException, UnsupportedEncodingException, SAXException, XPathExpressionException |
Definition at line 89 of file CorpusIO.java.
void de.uni_hamburg.corpora.CorpusIO.write | ( | Collection< CorpusData > | cdc, |
URL | url | ||
) |
Definition at line 104 of file CorpusIO.java.
void de.uni_hamburg.corpora.CorpusIO.writePrettyPrinted | ( | CorpusData | cd, |
URL | url | ||
) | throws TransformerException, ParserConfigurationException, SAXException, IOException, XPathExpressionException |
Definition at line 258 of file CorpusIO.java.