|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.util.io.Tag org.freehep.graphicsio.emf.EMFTag
EMF specific tag, from which all other EMF Tags inherit.
Field Summary |
Fields inherited from class org.freehep.util.io.Tag |
DEFAULT_TAG |
Constructor Summary | |
protected |
EMFTag(int id,
int version)
Constructs a EMFTag. |
Method Summary | |
abstract EMFTag |
read(int tagID,
EMFInputStream emf,
int len)
|
Tag |
read(int tagID,
TaggedInputStream input,
int len)
This reads the information from the given input and returns a new Tag |
String |
toString()
|
void |
write(int tagID,
EMFOutputStream emf)
Writes the extra tag information to the outputstream in binary format. |
void |
write(int tagID,
TaggedOutputStream output)
This writes the information to the given output |
Methods inherited from class org.freehep.util.io.Tag |
getName, getTag, getTagType, getVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected EMFTag(int id, int version)
id
- id of the elementversion
- emf version in which this element was first supportedMethod Detail |
public Tag read(int tagID, TaggedInputStream input, int len) throws IOException
Tag
read
in class Tag
IOException
public abstract EMFTag read(int tagID, EMFInputStream emf, int len) throws IOException
IOException
public void write(int tagID, TaggedOutputStream output) throws IOException
Tag
write
in class Tag
IOException
public void write(int tagID, EMFOutputStream emf) throws IOException
tagID
- id of the tagemf
- Binary CGM output stream
IOException
public String toString()
toString
in class Tag
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |