|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tridas.io.AbstractDendroCollectionWriter
org.tridas.io.formats.catras.CatrasWriter
public class CatrasWriter
Constructor Summary | |
---|---|
CatrasWriter()
|
Method Summary | |
---|---|
IMetadataFieldSet |
getDefaults()
Get the default values for this writer. |
String |
getDescription()
Get the description of the format |
String |
getFullName()
Get the full name of the format |
INamingConvention |
getNamingConvention()
Get the naming convention |
String |
getShortName()
Get the short name of the format |
protected void |
parseTridasProject(org.tridas.schema.TridasProject argProject,
IMetadataFieldSet argDefaults)
Parse the project with the given defaults |
void |
saveFileToDisk(String argOutputFolder,
String argFilename,
IDendroFile argFile)
Override to implement own file saving. |
void |
setNamingConvention(INamingConvention argConvention)
Set the naming convention. |
Methods inherited from class org.tridas.io.AbstractDendroCollectionWriter |
---|
addToFileList, addWarning, clearFiles, clearWarnings, constructDefaultMetadata, getFileList, getFiles, getWarnings, load, load, load, load, loadProject, loadProject, parseTridasContainer, saveAllToDisk, saveAllToDisk, saveFileToDisk |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CatrasWriter()
Method Detail |
---|
public IMetadataFieldSet getDefaults()
AbstractDendroCollectionWriter
getDefaults
in class AbstractDendroCollectionWriter
org.tridas.io.IDendroCollectionWriter#getDefaults()
public String getDescription()
AbstractDendroCollectionWriter
getDescription
in class AbstractDendroCollectionWriter
org.tridas.io.IDendroCollectionWriter#getDescription()
public String getFullName()
AbstractDendroCollectionWriter
getFullName
in class AbstractDendroCollectionWriter
org.tridas.io.IDendroCollectionWriter#getFullName()
public INamingConvention getNamingConvention()
AbstractDendroCollectionWriter
getNamingConvention
in class AbstractDendroCollectionWriter
org.tridas.io.IDendroCollectionWriter#getNamingConvention()
public String getShortName()
AbstractDendroCollectionWriter
getShortName
in class AbstractDendroCollectionWriter
org.tridas.io.IDendroCollectionWriter#getShortName()
protected void parseTridasProject(org.tridas.schema.TridasProject argProject, IMetadataFieldSet argDefaults) throws IncompleteTridasDataException
AbstractDendroCollectionWriter
parseTridasProject
in class AbstractDendroCollectionWriter
IncompleteTridasDataException
public void setNamingConvention(INamingConvention argConvention)
AbstractDendroCollectionWriter
setNamingConvention
in class AbstractDendroCollectionWriter
org.tridas.io.IDendroCollectionWriter#setNamingConvention(org.tridas.io.naming.INamingConvention)
public void saveFileToDisk(String argOutputFolder, String argFilename, IDendroFile argFile)
AbstractDendroCollectionWriter
TridasIO.getWritingCharset()
.
saveFileToDisk
in class AbstractDendroCollectionWriter
argOutputFolder
- output folder can be absolute, and always ends with "/" unless it's an
empty stringargFilename
- filename of the file (without extension)argFile
- a dendro file of this writer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |