|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FileOutputStream
com.ohrasys.cad.gds.GDSOutputStream
public class GDSOutputStream
The GDSOutputStream is used to write GDSRecords to a data source.
| Constructor Summary | |
|---|---|
GDSOutputStream(java.io.File file)
Creates a new GDSOutputStream object. |
|
GDSOutputStream(java.io.FileDescriptor fdObj)
Creates a new GDSOutputStream object. |
|
GDSOutputStream(java.lang.String name)
Creates a new GDSOutputStream object. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Returns a string representation of this class |
int |
writeRecord(GDSRecord record)
Reads a GDS record from the stream. |
| Methods inherited from class java.io.FileOutputStream |
|---|
close, finalize, getChannel, getFD, write, write, write |
| Methods inherited from class java.io.OutputStream |
|---|
flush |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GDSOutputStream(java.lang.String name)
throws java.io.FileNotFoundException
name - The name of the GDS file.
java.io.FileNotFoundException - If the file cannot be found or is not
readable
public GDSOutputStream(java.io.File file)
throws java.io.FileNotFoundException
file - The GDS file
java.io.FileNotFoundException - If the file cannot be found or is not
readable
public GDSOutputStream(java.io.FileDescriptor fdObj)
throws java.io.FileNotFoundException
fdObj - The GDS file descriptor
java.io.FileNotFoundException - If the file cannot be found or is not
readable| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public int writeRecord(GDSRecord record)
throws java.io.IOException
record - The GDSRecord to write out.
java.io.IOException - If an IO error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||