NIO
文章平均质量分 84
likaiwalkman_Victor
这个作者很懒,什么都没留下…
展开
-
Java NIO Tutorial
Java NIO (New IO) is an alternative IO API for Java (from Java 1.4), meaning alternative to the standardJava IO and Java Networking API's. Java NIO offers a different way of working with IO than the转载 2016-03-12 19:46:14 · 259 阅读 · 0 评论 -
Java NIO Files
Files.exists()Files.createDirectory()Files.copy()Overwriting Existing FilesFiles.move()Files.delete()Files.walkFileTree()Searching For FilesDeleting Directories RecursivelyAdditional Metho转载 2016-03-12 23:23:36 · 382 阅读 · 0 评论 -
Java NIO Path
Creating a Path InstanceCreating an Absolute PathCreating a Relative PathPath.normalize()Jakob JenkovLast update: 2015-03-12 The Java Path interface is part转载 2016-03-12 23:22:57 · 253 阅读 · 0 评论 -
Java NIO Path
Creating a Path InstanceCreating an Absolute PathCreating a Relative PathPath.normalize()Jakob JenkovLast update: 2015-03-12 The Java Path interface is part转载 2016-03-12 23:18:11 · 305 阅读 · 0 评论 -
Java NIO vs. IO
Main Differences Betwen Java NIO and IOStream Oriented vs. Buffer OrientedBlocking vs. Non-blocking IOSelectorsHow NIO and IO Influences Application DesignThe API CallsThe Processing of DataSumm转载 2016-03-12 23:17:15 · 305 阅读 · 0 评论 -
Java NIO Pipe
Creating a PipeWriting to a PipeReading from a PipeJakob JenkovLast update: 2014-06-23 A Java NIO Pipe is a one-way data connection between two threads. A Pipe has转载 2016-03-12 23:12:14 · 335 阅读 · 0 评论 -
Java NIO DatagramChannel
Opening a DatagramChannelReceiving DataSending DataConnecting to a Specific AddressJakob JenkovLast update: 2014-06-23 A Java NIO DatagramChannel is a channel that转载 2016-03-12 23:10:22 · 242 阅读 · 0 评论 -
Java NIO: Non-blocking Server
Non-blocking Server - GitHub RepositoryNon-blocking IO PipelinesNon-blocking vs. Blocking IO PipelinesBlocking IO Pipeline DrawbacksBasic Non-blocking IO Pipeline DesignReading Partial MessagesS转载 2016-03-12 22:51:48 · 537 阅读 · 0 评论 -
Java NIO ServerSocketChannel
Opening a ServerSocketChannelClosing a ServerSocketChannelListening for Incoming ConnectionsNon-blocking ModeJakob JenkovLast update: 2014-06-25 A Java NIO ServerS转载 2016-03-12 22:49:35 · 249 阅读 · 0 评论 -
Java NIO SocketChannel
Opening a SocketChannelClosing a SocketChannelReading from a SocketChannelWriting to a SocketChannelNon-blocking Modeconnect()write()read()Non-blocking Mode with SelectorsJakob J转载 2016-03-12 22:36:10 · 230 阅读 · 0 评论 -
Java NIO FileChannel
Opening a FileChannelReading Data from a FileChannelWriting Data to a FileChannelClosing a FileChannelFileChannel PositionFileChannel SizeFileChannel TruncateFileChannel ForceJakob Jen转载 2016-03-12 22:35:25 · 253 阅读 · 0 评论 -
Java NIO Selector
Why Use a Selector?Creating a SelectorRegistering Channels with the SelectorSelectionKey'sInterest SetReady SetChannel + SelectorAttaching ObjectsSelecting Channels via a SelectorselectedKey转载 2016-03-12 20:58:06 · 217 阅读 · 0 评论 -
Java NIO Channel to Channel Transfers
transferFrom()transferTo()Jakob JenkovLast update: 2014-07-30 In Java NIO you can transfer data directly from one channel to another, if one of the channels is aFile转载 2016-03-12 20:57:27 · 325 阅读 · 0 评论 -
Java NIO Channel to Channel Transfers
transferFrom()transferTo()Jakob JenkovLast update: 2014-07-30 In Java NIO you can transfer data directly from one channel to another, if one of the channels is aFi转载 2016-03-12 20:49:51 · 244 阅读 · 0 评论 -
Java NIO Scatter / Gather
Scattering ReadsGathering WritesJakob JenkovLast update: 2015-09-02 Java NIO comes with built-in scatter / gather support. Scatter / gather are concepts used in re转载 2016-03-12 20:24:14 · 281 阅读 · 0 评论 -
Java NIO Buffer
Basic Buffer UsageBuffer Capacity, Position and LimitCapacityPositionLimitBuffer TypesAllocating a BufferWriting Data to a Bufferflip()Reading Data from a Bufferrewind()clear() and compact()mark转载 2016-03-12 20:03:25 · 252 阅读 · 0 评论 -
Java NIO Channel
Channel ImplementationsBasic Channel ExampleJakob JenkovLast update: 2014-06-23 Java NIO Channels are similar to streams with a few differences:You can both re转载 2016-03-12 19:52:50 · 254 阅读 · 0 评论 -
Java NIO Overview
Java NIO consist of the following core components:ChannelsBuffersSelectorsJava NIO has more classes and components than these, but the Channel, Buffer and Selector forms the core of the API, i转载 2016-03-12 19:48:00 · 222 阅读 · 0 评论 -
Java NIO AsynchronousFileChannel
Creating an AsynchronousFileChannelReading DataReading Data Via a FutureReading Data Via a CompletionHandlerWriting DataWriting Data Via a FutureWriting Data Via a CompletionHandlerJak转载 2016-03-12 23:25:20 · 342 阅读 · 0 评论