|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.AnnotatedEntity
de.jstacs.results.Result
de.jstacs.utils.galaxy.GalaxyAdaptor.FileResult
public static class GalaxyAdaptor.FileResult
Result for files that are results of some computation. Also used to link
e.g. PDFs of images to GalaxyAdaptor.LinkedImageResults.
| Field Summary |
|---|
| Fields inherited from class de.jstacs.AnnotatedEntity |
|---|
comment, datatype, name |
| Constructor Summary | |
|---|---|
GalaxyAdaptor.FileResult(StringBuffer rep)
Creates a new GalaxyAdaptor.FileResult from its XML-representation |
|
GalaxyAdaptor.FileResult(String name,
String comment,
String fullPath)
Creates a new GalaxyAdaptor.FileResult with name, comment, and path to the file. |
|
GalaxyAdaptor.FileResult(String name,
String comment,
String path,
String filename,
String extension)
Creates a new GalaxyAdaptor.FileResult with name, comment, path to the file, filename and extension. |
|
| Method Summary | |
|---|---|
protected void |
appendFurtherInfos(StringBuffer sb)
This method can be used in the method Storable.toXML() to extract
further information (name, comment, datatype). |
protected void |
extractFurtherInfos(StringBuffer rep)
This method can be used in the constructor with parameter StringBuffer to
extract the further information. |
String |
getExtension()
Returns the filename extension |
String |
getFilename()
Returns the filename. |
String |
getPath()
Returns the path of the directory containing the file |
File |
getValue()
Returns the value of the AnnotatedEntity. |
String |
getXMLTag()
This method returns a tag used as outer tag of the XML description. |
void |
setExtension(String extension)
Sets the filename extension |
void |
setFilename(String filename)
Sets the file |
void |
setPath(String path)
Sets the path of the directory containing the file to path |
| Methods inherited from class de.jstacs.results.Result |
|---|
checkDatatype, createResult, isCastableResult, isComparableResult |
| Methods inherited from class de.jstacs.AnnotatedEntity |
|---|
getComment, getDatatype, getName, toXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GalaxyAdaptor.FileResult(String name,
String comment,
String fullPath)
GalaxyAdaptor.FileResult with name, comment, and path to the file.
name - the name of the resultcomment - the comment for the resultfullPath - the path to the file
public GalaxyAdaptor.FileResult(String name,
String comment,
String path,
String filename,
String extension)
GalaxyAdaptor.FileResult with name, comment, path to the file, filename and extension.
name - the name of the resultcomment - the comment for the resultpath - the path to the directory containing the filefilename - the filename without extensionextension - the filename extension
public GalaxyAdaptor.FileResult(StringBuffer rep)
throws NonParsableException
GalaxyAdaptor.FileResult from its XML-representation
rep - the representation
NonParsableException - if pre could not be parsed| Method Detail |
|---|
public String getXMLTag()
AnnotatedEntity
getXMLTag in class AnnotatedEntityprotected void appendFurtherInfos(StringBuffer sb)
AnnotatedEntityStorable.toXML() to extract
further information (name, comment, datatype).
appendFurtherInfos in class AnnotatedEntitysb - a XML representation of the main information as
StringBufferStorable.toXML()
protected void extractFurtherInfos(StringBuffer rep)
throws NonParsableException
AnnotatedEntityStringBuffer to
extract the further information.
extractFurtherInfos in class AnnotatedEntityrep - a XML represenation of the main information as
StringBuffer
NonParsableException - if the XML representation is not parsableAnnotatedEntity.AnnotatedEntity(StringBuffer)public File getValue()
AnnotatedEntityAnnotatedEntity.
getValue in class AnnotatedEntityAnnotatedEntitypublic String getPath()
public void setPath(String path)
path
path - the new pathpublic String getFilename()
public void setFilename(String filename)
filename - the new filenamepublic String getExtension()
public void setExtension(String extension)
extension - the new extension
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||