public static final class NioIoHandler.Default extends AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile> implements NioIoHandler
NioIoHandler.DefaultAIoHandler.Abstract<FS,DS,I extends AItem,F extends AFile,D extends ADirectory,R extends AReadableFile,W extends AWritableFile>WriteController.Disabled, WriteController.Enabled| Modifier and Type | Method and Description |
|---|---|
NioReadableFile |
castReadableFile(AReadableFile file) |
NioWritableFile |
castWritableFile(AWritableFile file) |
protected boolean |
specificClose(NioReadableFile file) |
protected long |
specificCopyFrom(AReadableFile source,
long sourcePosition,
long length,
NioWritableFile targetSubject) |
protected long |
specificCopyFrom(AReadableFile source,
long sourcePosition,
NioWritableFile targetSubject) |
protected long |
specificCopyFrom(AReadableFile source,
NioWritableFile targetSubject) |
protected long |
specificCopyTo(NioReadableFile sourceSubject,
AWritableFile target) |
protected long |
specificCopyTo(NioReadableFile sourceSubject,
long sourcePosition,
AWritableFile target) |
protected long |
specificCopyTo(NioReadableFile sourceSubject,
long sourcePosition,
long length,
AWritableFile target) |
protected void |
specificCreate(ADirectory directory) |
protected void |
specificCreate(NioWritableFile file) |
protected boolean |
specificDeleteFile(NioWritableFile file) |
protected boolean |
specificExists(ADirectory directory) |
protected boolean |
specificExists(NioFileWrapper file) |
protected void |
specificInventorize(ADirectory directory) |
protected boolean |
specificIsEmpty(ADirectory directory) |
protected boolean |
specificIsOpen(NioReadableFile file) |
protected one.microstream.collections.types.XGettingEnum<String> |
specificListDirectories(ADirectory parent) |
protected one.microstream.collections.types.XGettingEnum<String> |
specificListFiles(ADirectory parent) |
protected one.microstream.collections.types.XGettingEnum<String> |
specificListItems(ADirectory parent) |
protected void |
specificMoveFile(NioWritableFile sourceFile,
AWritableFile targetFile) |
protected boolean |
specificOpenReading(NioReadableFile file) |
protected boolean |
specificOpenWriting(NioWritableFile file) |
protected ByteBuffer |
specificReadBytes(NioReadableFile sourceFile) |
protected long |
specificReadBytes(NioReadableFile sourceFile,
one.microstream.io.BufferProvider bufferProvider) |
protected long |
specificReadBytes(NioReadableFile sourceFile,
one.microstream.io.BufferProvider bufferProvider,
long position) |
protected long |
specificReadBytes(NioReadableFile sourceFile,
one.microstream.io.BufferProvider bufferProvider,
long position,
long length) |
protected long |
specificReadBytes(NioReadableFile sourceFile,
ByteBuffer targetBuffer) |
protected long |
specificReadBytes(NioReadableFile sourceFile,
ByteBuffer targetBuffer,
long position) |
protected long |
specificReadBytes(NioReadableFile sourceFile,
ByteBuffer targetBuffer,
long position,
long length) |
protected ByteBuffer |
specificReadBytes(NioReadableFile sourceFile,
long position) |
protected ByteBuffer |
specificReadBytes(NioReadableFile sourceFile,
long position,
long length) |
protected long |
specificSize(NioFileWrapper file) |
protected void |
specificTargetMoveFile(NioWritableFile sourceFile,
NioWritableFile targetFile) |
protected void |
specificTruncateFile(NioWritableFile targetFile,
long newSize) |
protected long |
specificWriteBytes(NioWritableFile targetFile,
Iterable<? extends ByteBuffer> sourceBuffers) |
protected boolean |
subjectDirectoryExists(Path directory) |
protected boolean |
subjectFileExists(Path file) |
protected long |
subjectFileSize(Path file) |
Path |
toPath(AItem item) |
Path |
toPath(String... pathElements) |
protected Path |
toSubjectDirectory(ADirectory directory) |
protected Path |
toSubjectFile(AFile file) |
close, copyFrom, copyFrom, copyFrom, copyGeneric, copyGeneric, copyGeneric, copyTo, copyTo, copyTo, create, create, createUnhandledTypeException, createUnhandledTypeException, createUnhandledTypeExceptionDirectory, createUnhandledTypeExceptionFile, createUnhandledTypeExceptionItem, createUnhandledTypeExceptionReadableFile, createUnhandledTypeExceptionWritableFile, deleteFile, ensureExists, ensureExists, exists, exists, inventorize, isEmpty, isHandledDirectory, isHandledFile, isHandledItem, isHandledReadableFile, isHandledWritableFile, isOpen, isWritable, listDirectories, listFiles, listItems, moveFile, openReading, openWriting, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, size, truncate, validateHandledDirectory, validateHandledFile, validateHandledReadableFile, validateHandledWritableFile, validateIsWritable, writeBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitNew, New, New, Newclose, copyFrom, copyFrom, copyFrom, copyTo, copyTo, copyTo, create, create, deleteFile, ensureExists, ensureExists, exists, exists, inventorize, isEmpty, isHandledDirectory, isHandledFile, isHandledItem, isHandledReadableFile, isHandledWritableFile, isOpen, listDirectories, listFiles, listItems, moveFile, openReading, openWriting, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, size, truncate, validateHandledDirectory, validateHandledFile, validateHandledReadableFile, validateHandledWritableFile, writeBytesDisabled, Enabled, isWritable, validateIsWritablepublic Path toPath(AItem item)
toPath in interface NioIoHandlerpublic Path toPath(String... pathElements)
toPath in interface NioIoHandlerpublic NioReadableFile castReadableFile(AReadableFile file)
castReadableFile in interface NioIoHandlercastReadableFile in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>public NioWritableFile castWritableFile(AWritableFile file)
castWritableFile in interface NioIoHandlercastWritableFile in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected Path toSubjectFile(AFile file)
toSubjectFile in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected Path toSubjectDirectory(ADirectory directory)
toSubjectDirectory in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long subjectFileSize(Path file)
subjectFileSize in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected boolean subjectFileExists(Path file)
subjectFileExists in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected boolean subjectDirectoryExists(Path directory)
subjectDirectoryExists in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificSize(NioFileWrapper file)
specificSize in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected boolean specificExists(NioFileWrapper file)
specificExists in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected boolean specificExists(ADirectory directory)
specificExists in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected one.microstream.collections.types.XGettingEnum<String> specificListItems(ADirectory parent)
specificListItems in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected one.microstream.collections.types.XGettingEnum<String> specificListDirectories(ADirectory parent)
specificListDirectories in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected one.microstream.collections.types.XGettingEnum<String> specificListFiles(ADirectory parent)
specificListFiles in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected void specificInventorize(ADirectory directory)
specificInventorize in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected boolean specificIsEmpty(ADirectory directory)
specificIsEmpty in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected boolean specificOpenReading(NioReadableFile file)
specificOpenReading in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected boolean specificIsOpen(NioReadableFile file)
specificIsOpen in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected boolean specificClose(NioReadableFile file)
specificClose in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected boolean specificOpenWriting(NioWritableFile file)
specificOpenWriting in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected void specificCreate(ADirectory directory)
specificCreate in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected void specificCreate(NioWritableFile file)
specificCreate in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected void specificTruncateFile(NioWritableFile targetFile, long newSize)
specificTruncateFile in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected boolean specificDeleteFile(NioWritableFile file)
specificDeleteFile in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected ByteBuffer specificReadBytes(NioReadableFile sourceFile)
specificReadBytes in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected ByteBuffer specificReadBytes(NioReadableFile sourceFile, long position)
specificReadBytes in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected ByteBuffer specificReadBytes(NioReadableFile sourceFile, long position, long length)
specificReadBytes in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificReadBytes(NioReadableFile sourceFile, ByteBuffer targetBuffer)
specificReadBytes in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificReadBytes(NioReadableFile sourceFile, ByteBuffer targetBuffer, long position)
specificReadBytes in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificReadBytes(NioReadableFile sourceFile, ByteBuffer targetBuffer, long position, long length)
specificReadBytes in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificReadBytes(NioReadableFile sourceFile, one.microstream.io.BufferProvider bufferProvider)
specificReadBytes in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificReadBytes(NioReadableFile sourceFile, one.microstream.io.BufferProvider bufferProvider, long position)
specificReadBytes in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificReadBytes(NioReadableFile sourceFile, one.microstream.io.BufferProvider bufferProvider, long position, long length)
specificReadBytes in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificCopyTo(NioReadableFile sourceSubject, AWritableFile target)
specificCopyTo in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificCopyTo(NioReadableFile sourceSubject, long sourcePosition, AWritableFile target)
specificCopyTo in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificCopyTo(NioReadableFile sourceSubject, long sourcePosition, long length, AWritableFile target)
specificCopyTo in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificCopyFrom(AReadableFile source, NioWritableFile targetSubject)
specificCopyFrom in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificCopyFrom(AReadableFile source, long sourcePosition, NioWritableFile targetSubject)
specificCopyFrom in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificCopyFrom(AReadableFile source, long sourcePosition, long length, NioWritableFile targetSubject)
specificCopyFrom in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected long specificWriteBytes(NioWritableFile targetFile, Iterable<? extends ByteBuffer> sourceBuffers)
specificWriteBytes in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected void specificMoveFile(NioWritableFile sourceFile, AWritableFile targetFile)
specificMoveFile in class AIoHandler.Abstract<Path,Path,NioItemWrapper,NioFileWrapper,ADirectory,NioReadableFile,NioWritableFile>protected void specificTargetMoveFile(NioWritableFile sourceFile, NioWritableFile targetFile)
Copyright © 2022 MicroStream Software. All rights reserved.