Uses of Interface
org.miaixz.bus.core.io.source.Source
Packages that use Source
-
Uses of Source in org.miaixz.bus.core.io.buffer
Classes in org.miaixz.bus.core.io.buffer that implement SourceMethods in org.miaixz.bus.core.io.buffer with parameters of type SourceModifier and TypeMethodDescriptionlong -
Uses of Source in org.miaixz.bus.core.io.sink
Methods in org.miaixz.bus.core.io.sink with parameters of type SourceModifier and TypeMethodDescriptionRemovesbyteCountbytes fromsourceand appends them to this sink.longRemoves all bytes fromsourceand appends them to this sink.long -
Uses of Source in org.miaixz.bus.core.io.source
Subinterfaces of Source in org.miaixz.bus.core.io.sourceModifier and TypeInterfaceDescriptioninterface内部保存一个缓冲区,以便调用者可以在没有性能的情况下进行少量读取 它还允许客户端提前读取,在消费之前进行必要的缓冲输入Classes in org.miaixz.bus.core.io.source that implement SourceModifier and TypeClassDescriptionclass将调用转发给另一个调用的Sourceclass解压读取数据final classA source that uses DEFLATE to decompress data read from another source.class一个Source,它可以窥视上游的BufferSource并允许读取和 展开缓冲数据而不使用它 这是通过请求额外的数据吗 如果需要,则复制上游源文件,如果需要,则从上游源文件的内部缓冲区复制 此源还维护其上游缓冲区的起始位置的快照 每次读取时验证 如果从上游缓冲区读取,则此源将变为 无效,在以后的读取中抛出IllegalStateExceptionclass原始缓冲流Fields in org.miaixz.bus.core.io.source declared as SourceMethods in org.miaixz.bus.core.io.source that return SourceConstructors in org.miaixz.bus.core.io.source with parameters of type SourceModifierConstructorDescriptionAssignSource(Source delegate) GzipSource(Source source) InflaterSource(Source source, Inflater inflater) RealSource(Source source) -
Uses of Source in org.miaixz.bus.core.io.timout
Methods in org.miaixz.bus.core.io.timout that return SourceModifier and TypeMethodDescriptionfinal SourceReturns a new source that delegates tosource, using this to implement timeouts.Methods in org.miaixz.bus.core.io.timout with parameters of type Source -
Uses of Source in org.miaixz.bus.core.xyz
Methods in org.miaixz.bus.core.xyz that return SourceModifier and TypeMethodDescriptionstatic Source返回从file读取的缓冲数据static SourceIoKit.source(InputStream in) 返回从in中读取的缓冲数据static Source返回从socket读取的缓存信息。与IoKit.source(InputStream)相比, 更喜欢这个方法, 因为这个方法支持超时。当套接字读取超时时,套接字将由任务线程异步关闭static SourceIoKit.source(Path path, OpenOption... options) 返回从path读取的缓冲数据Methods in org.miaixz.bus.core.xyz with parameters of type Source