com.jeffpalm.basic.bytecode.base
Class FileCodeStream
java.lang.Object
com.jeffpalm.basic.bytecode.base.FileCodeStream
- All Implemented Interfaces:
- ICodeStream
public final class FileCodeStream
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileCodeStream
public FileCodeStream(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
FileCodeStream
public FileCodeStream(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
write
public final void write(Iu1 u)
throws java.io.IOException
- Specified by:
write
in interface ICodeStream
- Throws:
java.io.IOException
write
public final void write(Iu1 u,
java.lang.String msg)
throws java.io.IOException
- Specified by:
write
in interface ICodeStream
- Throws:
java.io.IOException
write
public final void write(Iu1[] u)
throws java.io.IOException
- Specified by:
write
in interface ICodeStream
- Throws:
java.io.IOException
write
public final void write(Iu1[] u,
java.lang.String msg)
throws java.io.IOException
- Specified by:
write
in interface ICodeStream
- Throws:
java.io.IOException
write
public final void write(Iu2 u)
throws java.io.IOException
- Specified by:
write
in interface ICodeStream
- Throws:
java.io.IOException
write
public final void write(Iu2 u,
java.lang.String msg)
throws java.io.IOException
- Specified by:
write
in interface ICodeStream
- Throws:
java.io.IOException
write
public final void write(Iu4 u)
throws java.io.IOException
- Specified by:
write
in interface ICodeStream
- Throws:
java.io.IOException
write
public final void write(Iu4 u,
java.lang.String msg)
throws java.io.IOException
- Specified by:
write
in interface ICodeStream
- Throws:
java.io.IOException
writeU1
public final void writeU1(byte val)
throws java.io.IOException
- Specified by:
writeU1
in interface ICodeStream
- Throws:
java.io.IOException
writeU1
public final void writeU1(byte val,
java.lang.String msg)
throws java.io.IOException
- Specified by:
writeU1
in interface ICodeStream
- Throws:
java.io.IOException
writeU2
public final void writeU2(short val)
throws java.io.IOException
- Specified by:
writeU2
in interface ICodeStream
- Throws:
java.io.IOException
writeU2
public final void writeU2(short val,
java.lang.String msg)
throws java.io.IOException
- Specified by:
writeU2
in interface ICodeStream
- Throws:
java.io.IOException
writeU4
public final void writeU4(int val)
throws java.io.IOException
- Specified by:
writeU4
in interface ICodeStream
- Throws:
java.io.IOException
writeU4
public final void writeU4(int val,
java.lang.String msg)
throws java.io.IOException
- Specified by:
writeU4
in interface ICodeStream
- Throws:
java.io.IOException
write
public final void write(byte[] bs)
throws java.io.IOException
- Specified by:
write
in interface ICodeStream
- Throws:
java.io.IOException
write
public final void write(byte[] bs,
java.lang.String msg)
throws java.io.IOException
- Specified by:
write
in interface ICodeStream
- Throws:
java.io.IOException
flush
public final void flush()
throws java.io.IOException
- Specified by:
flush
in interface ICodeStream
- Throws:
java.io.IOException
close
public final void close()
throws java.io.IOException
- Specified by:
close
in interface ICodeStream
- Throws:
java.io.IOException
setDebug
public final void setDebug(boolean debug)
- Specified by:
setDebug
in interface ICodeStream