- java.lang.Object
 - 
- java.io.OutputStream
 - 
- cn.mcres.karlatemp.mxlib.util.RAFOutputStream
 
 
 
- 
- 所有已实现的接口:
 Closeable,DataOutput,Flushable,AutoCloseable
public class RAFOutputStream extends OutputStream implements DataOutput
A output stream of RandomAccessFile- 从以下版本开始:
 - 2.12
 
 
- 
- 
构造器概要
构造器 构造器 说明 RAFOutputStream(RandomAccessFile raf)RAFOutputStream(RandomAccessFile raf, boolean closeRAF, boolean autoSetLength)The constructor 
- 
方法概要
修饰符和类型 方法 说明 voidclose()voidwrite(@org.jetbrains.annotations.NotNull byte[] b)voidwrite(@org.jetbrains.annotations.NotNull byte[] b, int off, int len)voidwrite(int b)voidwriteBoolean(boolean v)voidwriteByte(int v)voidwriteBytes(@NotNull String s)voidwriteChar(int v)voidwriteChars(@NotNull String s)voidwriteDouble(double v)voidwriteFloat(float v)voidwriteInt(int v)voidwriteLong(long v)voidwriteShort(int v)voidwriteUTF(@NotNull String s)- 
从类继承的方法 java.io.OutputStream
flush, nullOutputStream 
 - 
 
 - 
 
- 
- 
构造器详细资料
- 
RAFOutputStream
public RAFOutputStream(RandomAccessFile raf, boolean closeRAF, boolean autoSetLength)
The constructor 
- 
RAFOutputStream
public RAFOutputStream(RandomAccessFile raf)
 
 - 
 
- 
方法详细资料
- 
writeBoolean
public void writeBoolean(boolean v) throws IOException- 指定者:
 writeBoolean在接口中DataOutput- 抛出:
 IOException
 
- 
writeByte
public void writeByte(int v) throws IOException- 指定者:
 writeByte在接口中DataOutput- 抛出:
 IOException
 
- 
writeShort
public void writeShort(int v) throws IOException- 指定者:
 writeShort在接口中DataOutput- 抛出:
 IOException
 
- 
writeChar
public void writeChar(int v) throws IOException- 指定者:
 writeChar在接口中DataOutput- 抛出:
 IOException
 
- 
writeInt
public void writeInt(int v) throws IOException- 指定者:
 writeInt在接口中DataOutput- 抛出:
 IOException
 
- 
writeLong
public void writeLong(long v) throws IOException- 指定者:
 writeLong在接口中DataOutput- 抛出:
 IOException
 
- 
writeFloat
public void writeFloat(float v) throws IOException- 指定者:
 writeFloat在接口中DataOutput- 抛出:
 IOException
 
- 
writeDouble
public void writeDouble(double v) throws IOException- 指定者:
 writeDouble在接口中DataOutput- 抛出:
 IOException
 
- 
writeBytes
public void writeBytes(@NotNull @NotNull String s) throws IOException- 指定者:
 writeBytes在接口中DataOutput- 抛出:
 IOException
 
- 
writeChars
public void writeChars(@NotNull @NotNull String s) throws IOException- 指定者:
 writeChars在接口中DataOutput- 抛出:
 IOException
 
- 
writeUTF
public void writeUTF(@NotNull @NotNull String s) throws IOException- 指定者:
 writeUTF在接口中DataOutput- 抛出:
 IOException
 
- 
write
public void write(int b) throws IOException- 指定者:
 write在接口中DataOutput- 指定者:
 write在类中OutputStream- 抛出:
 IOException
 
- 
write
public void write(@NotNull @org.jetbrains.annotations.NotNull byte[] b, int off, int len) throws IOException- 指定者:
 write在接口中DataOutput- 覆盖:
 write在类中OutputStream- 抛出:
 IOException
 
- 
write
public void write(@NotNull @org.jetbrains.annotations.NotNull byte[] b) throws IOException- 指定者:
 write在接口中DataOutput- 覆盖:
 write在类中OutputStream- 抛出:
 IOException
 
- 
close
public void close() throws IOException- 指定者:
 close在接口中AutoCloseable- 指定者:
 close在接口中Closeable- 覆盖:
 close在类中OutputStream- 抛出:
 IOException
 
 - 
 
 -