Pepper
3.6.0
A highly extensible plattform for conversion and manipulationoflinguisticdata.
|
This class realizes a description of a corpus to be imported or exported. More...
Classes | |
class | Builder |
Public Member Functions | |
CorpusDesc () | |
Initializes a new CorpusDesc object. | |
FormatDesc | getFormatDesc () |
Returns a set format description. More... | |
CorpusDesc | setFormatDesc (FormatDesc formatDesc) |
Sets the format description for this corpus description. More... | |
URI | getCorpusPath () |
Returns the path of where to store or from where to load this corpus. More... | |
CorpusDesc | setCorpusPath (URI corpusPath) |
Sets the path of where to store or from where to load this corpus. More... | |
String | toString () |
Returns a string representation of this object. More... | |
Protected Attributes | |
FormatDesc | formatDesc = null |
format description belonging to this corpus | |
URI | corpusPath = null |
location of corpus | |
This class realizes a description of a corpus to be imported or exported.
The description consists of a path addressing the location of the corpus and a format description, in which the corpus currently is or is supposed to be persist in.
URI org.corpus_tools.pepper.common.CorpusDesc.getCorpusPath | ( | ) |
Returns the path of where to store or from where to load this corpus.
FormatDesc org.corpus_tools.pepper.common.CorpusDesc.getFormatDesc | ( | ) |
Returns a set format description.
If no FormatDesc object was set, a new one is created.
CorpusDesc org.corpus_tools.pepper.common.CorpusDesc.setCorpusPath | ( | URI | corpusPath | ) |
Sets the path of where to store or from where to load this corpus.
corpusPath | location of corpus |
this | object |
CorpusDesc org.corpus_tools.pepper.common.CorpusDesc.setFormatDesc | ( | FormatDesc | formatDesc | ) |
Sets the format description for this corpus description.
formatDesc | format description object |
String org.corpus_tools.pepper.common.CorpusDesc.toString | ( | ) |
Returns a string representation of this object.
Note: This representation cannot be used for serialization/deserialization purposes.