IO UML类图
2023-08-03 15:30:09 0 举报
IO UML类图
作者其他创作
大纲/内容
基于JDK1.8
<<interface>>Closeable
+ close():void
InputStreamReader
- sd:StreamDecoder
实现
ByteArrayOutputStream
# buf:byte[]# count:int- MAX_ARRAY_SIZE:int = Integer.MAX_VALUE - 8
Reader
# lock:Object- skipBuffer:char[] = null- maxSkipBufferSize:int = 8192
ByteArrayInputStream
# buf:byte[]# pos:int# count:int# mark:int = 0
BufferedInputStream
- DEFAULT_BUFFER_SIZE:int = 8192- MAX_BUFFER_SIZE:int = Integer.MAX_VALUE - 8
PipedWriter
- sink:PipedReader- closed:boolean = false
PipedOutputStream
- sink:PipedInputStream
PrintStream
- textOut:BufferedWriter- charOut:OutputStreamWriter
ObjectInputStream
+ 公有(public)# 保护(span style=\
DataOutputStream
# written:int- bytearr:byte[] = null- writeBuffer:byte[] = new byte[8]
PipedReader
* buf:char[]* in:int = -1* out:int = 0
DataInputStream
- bytearr:byte[] = new byte[80]- chararr:char[] = new char[80]- readBuffer:byte[] = new byte[8]- lineBuffer:char[]
FilterReader
# in:Reader
<<interface>>AutoCloseable
FilterInputStream
# in:InputStream
FileOutputStream
- fd:FileDescriptor- append:boolean- channel:FileChannel- path:String- closed:boolean = false- closeLock:Object = new Object
PushbackInputStream
# buf:byte[]# pos:int
BufferedOutputStream
# buf:byte[]# count:int
BufferedWriter
- out:Writer- cb:char[]- defaultCharBufferSize:int = 8192
CharArrayWriter
# buf:char[]# count:int
内部类
ObjectOutputStream
<<interface>>Flushable
+ flush():void
OutputStreamWriter
- se:StreamEncoder
font color=\"#323232\
FileInputStream
- fd:FileDescriptor- path:String- channel:FileChannel = null- closed:boolean = false- closeLock:Object = new Object()
+ FileInputStream(String name)+ FileInputStream(File file)+ FileInputStream(FileDescriptor fdObj)+ read():intfont color=\"#323232\
FileReader
+ FileReader(String fileName)+ FileReader(File file)+ FileReader(FileDescriptor fd)
Writer
- writeBuffer:char[]- WRITE_BUFFER_SIZE:int = 1024# lock:Object
# Writer()# Writer(Object lock)+ write(int c):void+ flush():void+ close():void
InputStream
- MAX_SKIP_BUFFER_SIZE:int = 2048
继承
SequenceInputStream
* in:InputStream
CharArrayReader
# buf:char[]# pos:int # markedPos:int = 0# count:int
FilterWriter
# out:Writer
OutStream
+ write(int b):voidfont color=\"#323232\
PrintWriter
# out:Writer
FilterOutputStream
# out:OutputStream
BufferedReader
# in:Reader
FileWriter
PipedInputStream
# buffer:byte[]# in:int = -1# out:int = 0
0 条评论
下一页