- All Superinterfaces:
- DataInput, DataOutput, ImageInputStream
- All Known Implementing Classes:
- FileCacheImageOutputStream, FileImageOutputStream, ImageOutputStreamImpl, MemoryCacheImageOutputStream
- See Also:
- Top Examples, Source Code
void flushBefore(long pos)
throws IOException
- See Also:
- IndexOutOfBoundsException, ImageInputStream
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void write(byte[] b)
throws IOException
- See Also:
- NullPointerException, DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void write(byte[] b,
int off,
int len)
throws IOException
- See Also:
- NullPointerException, IndexOutOfBoundsException, DataOutput,
ImageOutputStreamImpl
, flushBits
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void write(int b)
throws IOException
- See Also:
- DataOutput,
ImageOutputStreamImpl
, flushBits
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeBit(int bit)
throws IOException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeBits(long bits,
int numBits)
throws IOException
- See Also:
- IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeBoolean(boolean v)
throws IOException
- See Also:
- DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeByte(int v)
throws IOException
- See Also:
- DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeBytes(String s)
throws IOException
- See Also:
- NullPointerException, DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeChar(int v)
throws IOException
- See Also:
writeShort(int)
, DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeChars(char[] c,
int off,
int len)
throws IOException
- See Also:
- NullPointerException, IndexOutOfBoundsException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeChars(String s)
throws IOException
- See Also:
- NullPointerException, DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[264]Append to the end of the file
By Mark on 2003/05/29 13:56:26 Rate
File f = new File ( yourfilename ) ;
RandomAccessFile raf = new RandomAccessFile ( f, "rw" ) ;
raf.seek ( f.length ( ) ) ; // append to end of file
raf.writeChars ( "yourstring" ) ;
raf.close ( ) ;
void writeDouble(double v)
throws IOException
- See Also:
- DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeDoubles(double[] d,
int off,
int len)
throws IOException
- See Also:
- NullPointerException, IndexOutOfBoundsException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeFloat(float v)
throws IOException
- See Also:
- DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeFloats(float[] f,
int off,
int len)
throws IOException
- See Also:
- NullPointerException, IndexOutOfBoundsException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeInt(int v)
throws IOException
- See Also:
- DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeInts(int[] i,
int off,
int len)
throws IOException
- See Also:
- NullPointerException, IndexOutOfBoundsException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeLong(long v)
throws IOException
- See Also:
- DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeLongs(long[] l,
int off,
int len)
throws IOException
- See Also:
- NullPointerException, IndexOutOfBoundsException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeShort(int v)
throws IOException
- See Also:
- DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeShorts(short[] s,
int off,
int len)
throws IOException
- See Also:
- NullPointerException, IndexOutOfBoundsException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
void writeUTF(String s)
throws IOException
- See Also:
- UTFDataFormatException, NullPointerException, DataOutput
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples