|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.data.FormNode
visad.data.Form
visad.data.text.TextForm
public class TextForm
Defines the form of text data files for VisAD These may have filename extentions of: .csv - comma-separated values .tsv - tab-separated values .bsv - blank-separated values .txt - (delimiter chosen from the characters: tab, comma, blank in that order)
Field Summary |
---|
Fields inherited from class visad.data.Form |
---|
mathType |
Constructor Summary | |
---|---|
TextForm()
|
Method Summary | |
---|---|
void |
add(java.lang.String id,
Data data,
boolean replace)
Add data to an existing data object. |
java.lang.String[] |
getDefaultSuffixes()
|
FormNode |
getForms(Data data)
Return the data forms that are compatible with a data object. |
boolean |
isThisType(byte[] block)
|
boolean |
isThisType(java.lang.String name)
|
DataImpl |
open(java.lang.String path)
Open an existing data object. |
DataImpl |
open(java.net.URL url)
Open a data object specified as a URL. |
void |
save(java.lang.String id,
Data data,
boolean replace)
Save a VisAD data object in this form. |
Methods inherited from class visad.data.Form |
---|
getMathType |
Methods inherited from class visad.data.FormNode |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextForm()
Method Detail |
---|
public boolean isThisType(java.lang.String name)
isThisType
in interface FormFileInformer
public boolean isThisType(byte[] block)
isThisType
in interface FormFileInformer
public java.lang.String[] getDefaultSuffixes()
getDefaultSuffixes
in interface FormFileInformer
public void save(java.lang.String id, Data data, boolean replace) throws BadFormException, java.io.IOException, java.rmi.RemoteException, VisADException
FormNode
save
in class FormNode
BadFormException
java.io.IOException
java.rmi.RemoteException
VisADException
public void add(java.lang.String id, Data data, boolean replace) throws BadFormException
FormNode
add
in class FormNode
BadFormException
public DataImpl open(java.lang.String path) throws BadFormException, java.rmi.RemoteException, VisADException
FormNode
open
in class FormNode
BadFormException
java.rmi.RemoteException
VisADException
public DataImpl open(java.net.URL url) throws BadFormException, VisADException, java.io.IOException
FormNode
open
in class FormNode
BadFormException
VisADException
java.io.IOException
public FormNode getForms(Data data)
FormNode
getForms
in class FormNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |