|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.adfconverter.tools.filestructure.FileStructureDescription
class used to manipulated the data/ tabular file structure description contained in an XML file
| Constructor Summary | |
FileStructureDescription()
default Constructor |
|
| Method Summary | |
CorrectableHeaderItem |
createItem(ItemType itemType)
Create a correctableHeaderITem corresponding to a itemType |
CorrectableHeaderItem |
createItem(java.lang.String type)
Create an item object of a given type. |
CorrectableHeaderItem |
createItem(java.lang.String type,
int columnNumber)
Create a CorrectableHeaderItem object with a given type |
FileType |
FileType(java.lang.String filename)
Retrieves the FileType associated to a given filename in the file structure definition. |
CorrectableHeaderItem |
getAssociatedSimpleMicroArrayLayoutItem(CorrectableHeaderItem item)
Retrieves the associated Simple Microarray layout item associated to a given item in the structure definition. |
CorrectableHeaderItem |
getAssociatedSimpleMicroArrayLayoutItem(CorrectableHeaderItem item,
int columnNumber)
Retrieves the associated Simple Microarray layout item associated to a given item in the structure definition. |
DataType |
getDataType(java.lang.String dataName)
Retrieves the DataType object with a given dataname. |
FileType |
getFileType()
Retrieves the fileType attribut |
HeaderType |
getHeaderType()
Retrieves the headerType attribut |
DataType |
getNextDataType()
Retrieves the next DataType object in the structure definition |
FileType |
getNextFileType()
Retrieves the next FileType object from the structure definition (XML) |
TableType |
getNextTable()
Retrieves the next table object in the structure definition hierarchy/tree |
DataType |
getPreviousData()
Retrieves the previous DataType object in the structure definition |
TableType |
getPreviousTable()
Retrieves the previous table object in the structure definition hierarchy/tree |
TableType |
getTableType(java.lang.String tableName)
Retrieves the TableType object with a given name. |
void |
openStructure(java.lang.String _structureFile)
Open a file structure |
void |
setCurrentHeaderType(HeaderType _headerType)
Set the current HeaderType object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileStructureDescription()
| Method Detail |
public CorrectableHeaderItem createItem(ItemType itemType)
itemType - the itemType describing an header item
public CorrectableHeaderItem createItem(java.lang.String type)
throws IncorrectFileStructure
type - the type of the item to create
IncorrectFileStructure - if the structure definition is incorrect.
public CorrectableHeaderItem createItem(java.lang.String type,
int columnNumber)
throws IncorrectFileStructure
type - the type of the item to createzcolumnNumber - the column of the item in the file header
IncorrectFileStructure - if description file is incorrectpublic FileType FileType(java.lang.String filename)
filename - the filename to which the associated FileType is looked for.
public CorrectableHeaderItem getAssociatedSimpleMicroArrayLayoutItem(CorrectableHeaderItem item)
throws IncorrectFileStructure
item - the item to which the associated item is looked for
IncorrectFileStructure - if the structure definition is incorrect.
public CorrectableHeaderItem getAssociatedSimpleMicroArrayLayoutItem(CorrectableHeaderItem item,
int columnNumber)
throws IncorrectFileStructure
item - the item to which the associated item is looked forcolumnNumber - the item column../not used...
IncorrectFileStructure - if the structure definition is incorrect.
public DataType getDataType(java.lang.String dataName)
throws IncorrectFileStructure
dataName - the dataname of the DataType looked for.
IncorrectFileStructure - if the structure definition file /xml tree, is incorrectpublic FileType getFileType()
public HeaderType getHeaderType()
throws IncorrectFileStructure
IncorrectFileStructure - the structure definition is incorrect.
public DataType getNextDataType()
throws IncorrectFileStructure
IncorrectFileStructure - if the file structure definition file is incorrect.public FileType getNextFileType()
public TableType getNextTable()
throws IncorrectFileStructure
IncorrectFileStructure - if the structur definition is incorrect.
public DataType getPreviousData()
throws IncorrectFileStructure
IncorrectFileStructure - if the file structure definition file is incorrect.
public TableType getPreviousTable()
throws IncorrectFileStructure
IncorrectFileStructure - if the structur definition is incorrect.
public TableType getTableType(java.lang.String tableName)
throws IncorrectFileStructure
tableName - the name of the table looked for.
IncorrectFileStructure - the structure definition is incorrect.
public void openStructure(java.lang.String _structureFile)
throws java.io.IOException
_structureFile - the XML file contained a data file description
java.io.IOException - if an error occurs file accesspublic void setCurrentHeaderType(HeaderType _headerType)
_headerType - the HeaderType object to set as current.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||