|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.nite.nom.nomwrite.impl.NOMFile
public class NOMFile
NOMFile is an attempt to take the file and directory naming approach out of NOMCorpus and into a coherent package.
| Constructor Summary | |
|---|---|
NOMFile(NMetaData m,
NFile c,
NObservation o,
NAgent a)
|
|
NOMFile(NMetaData m,
java.lang.String fn)
Make a new NOM file from a file or colour name |
|
| Method Summary | |
|---|---|
NAgent |
getAgent()
|
java.util.List |
getChildCodingFilenames(NCoding child)
return the list of file names that could be children of this element. |
java.lang.String |
getCodingFilename(NCoding other)
return the list of file names that could be children of this element. |
java.lang.String |
getColour()
return the 'colour' of the file - which is normally just the filename without the .xml extension |
java.lang.String |
getFilename()
|
java.lang.String |
getFullFilename()
|
java.lang.String |
getIndexColour()
this is like getColour but we ignore any agent. |
NFile |
getNFile()
|
NObservation |
getObservation()
|
java.lang.String |
getParentCodingFilenames(NCoding parent)
return the list of file names that could be children of this element. |
int |
getType()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NOMFile(NMetaData m,
NFile c,
NObservation o,
NAgent a)
public NOMFile(NMetaData m,
java.lang.String fn)
| Method Detail |
|---|
public NFile getNFile()
public NObservation getObservation()
public NAgent getAgent()
public int getType()
public java.lang.String getIndexColour()
public java.lang.String getColour()
public java.lang.String getFilename()
public java.lang.String getFullFilename()
public java.util.List getChildCodingFilenames(NCoding child)
public java.lang.String getParentCodingFilenames(NCoding parent)
public java.lang.String getCodingFilename(NCoding other)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||