Index
All Classes and Interfaces|All Packages
A
- acl(AclEntry) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a Windows-style ACL entry set.
- acl(AclEntry...) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a Windows-style ACL entry set.
- acl(List<AclEntry>) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a Windows-style ACL entry set.
- addArchive(String) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a nested archive as a STORED entry in this archive.
- addArchive(String, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a nested archive as a STORED entry in this archive with the given file attributes.
- addArchive(String, OpenOption...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a nested archive as a STORED entry in this archive with the given options.
- addArchive(String, Collection<? extends OpenOption>, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a nested archive as a STORED entry in this archive with the given options and file attributes.
- addBufferedEntry(String) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive that is backed by a nested
BufferedFilerather than an output stream, using the builder's default options and no file attributes. - addBufferedEntry(String, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive that is backed by a nested
BufferedFilerather than an output stream. - addBufferedEntry(String, OpenOption...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive that is backed by a nested
BufferedFilerather than an output stream. - addBufferedEntry(String, Collection<? extends OpenOption>, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive that is backed by a nested
BufferedFilerather than an output stream. - addDirectory(String, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a directory entry to the archive.
- addEntry(String) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive using the builder's default options and no file attributes.
- addEntry(String, byte[]) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content from the given byte array, using the builder's default options and no file attributes.
- addEntry(String, byte[], int, int) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content from a region of the given byte array, using the builder's default options and no file attributes.
- addEntry(String, byte[], int, int, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content from a region of the given byte array, with the given file attributes.
- addEntry(String, byte[], int, int, OpenOption...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content from a region of the given byte array, with the given options.
- addEntry(String, byte[], int, int, Collection<? extends OpenOption>, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content from a region of the given byte array, with the given options and file attributes.
- addEntry(String, byte[], FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content from the given byte array, with the given file attributes.
- addEntry(String, byte[], OpenOption...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content from the given byte array, with the given options.
- addEntry(String, byte[], Collection<? extends OpenOption>, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content from the given byte array, with the given options and file attributes.
- addEntry(String, InputStream) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content read from the given input stream, using the builder's default options and no file attributes.
- addEntry(String, InputStream, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content read from the given input stream and the given file attributes.
- addEntry(String, InputStream, OpenOption...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content read from the given input stream and the given options.
- addEntry(String, InputStream, Collection<? extends OpenOption>, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content read from the given input stream, with the given options and file attributes.
- addEntry(String, Reader, Charset) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the text content read from the given reader, using the builder's default options and no file attributes.
- addEntry(String, Reader, Charset, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the text content read from the given reader, with the given file attributes.
- addEntry(String, Reader, Charset, OpenOption...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the text content read from the given reader, with the given options.
- addEntry(String, Reader, Charset, Collection<? extends OpenOption>, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the text content read from the given reader, with the given options and file attributes.
- addEntry(String, CharSequence, Charset) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the text content read from the given character sequence, using the builder's default options and no file attributes.
- addEntry(String, CharSequence, Charset, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the text content read from the given character sequence, with the given file attributes.
- addEntry(String, CharSequence, Charset, OpenOption...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the text content read from the given character sequence, with the given options.
- addEntry(String, CharSequence, Charset, Collection<? extends OpenOption>, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the text content read from the given character sequence, with the given options and file attributes.
- addEntry(String, Charset) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive and return a
Writerfor writing text content, using the builder's default options and no file attributes. - addEntry(String, Charset, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive and return a
Writerfor writing text content, with the given file attributes. - addEntry(String, Charset, OpenOption...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive and return a
Writerfor writing text content, with the given options. - addEntry(String, Charset, Collection<? extends OpenOption>, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive and return a
Writerfor writing text content, with the given options and file attributes. - addEntry(String, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the given options.
- addEntry(String, OpenOption...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the given options and no file attributes.
- addEntry(String, Path) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content copied from the given path, using the builder's default options and no file attributes.
- addEntry(String, Path, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content copied from the given path, with the given file attributes.
- addEntry(String, Path, OpenOption...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content copied from the given path, with the given options.
- addEntry(String, Path, Collection<? extends OpenOption>, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the content copied from the given path, with the given options and file attributes.
- addEntry(String, Collection<? extends OpenOption>, FileAttribute<?>...) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Add a file entry to the archive with the given options.
- addRawData() - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Begin writing raw (non-entry) data to the archive file and return an
OutputStreamfor the data. - addRawData(byte[]) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Write raw (non-entry) data to the archive file from the given byte array.
- addRawData(byte[], int, int) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Write raw (non-entry) data to the archive file from a region of the given byte array.
- addRawData(InputStream) - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Write raw (non-entry) data to the archive file, reading all bytes from the given input stream.
- Append mode - Search tag in class io.smallrye.common.io.BufferedFile
- Section
- Archive - Class in io.smallrye.common.io.archive
-
A ZIP archive.
- ArchiveBuilder - Class in io.smallrye.common.io.archive
-
A builder for creating ZIP/JAR archive files.
- available() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
B
- BIG_ENDIAN - Enum constant in enum class io.smallrye.common.io.ByteOrderOption
-
Use big-endian byte order.
- Buffer boundary behavior - Search tag in class io.smallrye.common.io.BufferedFile
- Section
- BufferedFile - Class in io.smallrye.common.io
-
A buffered random-access file that supports reading and writing variously-sized integers, floating-point values, byte arrays, NIO
ByteBuffers, and strings at both the current file position and at explicit (random-access) file positions. - BufferedFile.BufferedFileChannel - Class in io.smallrye.common.io
-
A
FileChannelview that delegates to the enclosingBufferedFile, maintaining buffer consistency for all read/write/position operations. - BufferedFile.BufferedFileInputStream - Class in io.smallrye.common.io
-
An
InputStreamview that extendsFileInputStreamand implementsDataInputwith big-endian semantics. - BufferedFile.BufferedFileOutputStream - Class in io.smallrye.common.io
-
An
OutputStreamview that extendsFileOutputStreamand implementsDataOutputwith big-endian semantics. - bufferSize() - Method in class io.smallrye.common.io.BufferSizeOption
-
Returns the buffer size in bytes.
- BufferSizeOption - Class in io.smallrye.common.io
-
An
OpenOptionthat specifies the buffer size to use when opening something which supports buffering. - byteOrder() - Method in class io.smallrye.common.io.BufferedFile
-
Returns the current default byte order.
- byteOrder() - Method in enum class io.smallrye.common.io.ByteOrderOption
-
Returns the byte order corresponding to this option.
- byteOrder(ByteOrder) - Method in class io.smallrye.common.io.BufferedFile
-
Set the default byte order.
- Byte order - Search tag in class io.smallrye.common.io.BufferedFile
- Section
- ByteOrderOption - Enum Class in io.smallrye.common.io
-
An
OpenOptionthat specifies the default byte order to use when opening aBufferedFile.
C
- channel() - Method in class io.smallrye.common.io.BufferedFile
-
Returns a cached
FileChannelview of this file. - cleanRecursively(Path) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively clean the file or directory at the given path.
- cleanRecursively(SecureDirectoryStream<Path>) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively clean all of the files returned by the given directory stream.
- cleanRecursively(SecureDirectoryStream<Path>, Path) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively clean the file or directory at the given directory and path.
- cleanRecursivelyEvenIfInsecure(DirectoryStream<Path>) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively clean all of the files and directories from the given stream, even if secure directory streams are not supported.
- cleanRecursivelyEvenIfInsecure(Path) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively clean the file or directory at the given path, even if secure directory streams are not supported.
- close() - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Close this archive builder, writing the central directory and end-of-central-directory records.
- close() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- close() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- close() - Method in class io.smallrye.common.io.BufferedFile
-
Flush any buffered data and close this file.
- compareEntryNameTo(long, String) - Method in class io.smallrye.common.io.archive.Archive
-
Compare the name of the entry at the given index to the given name.
- compareEntryNameTo(long, String, int) - Method in class io.smallrye.common.io.archive.Archive
-
Compare the name of the entry at the given index to the given name, starting at the given offset within the entry name.
- compressedSize(long) - Method in class io.smallrye.common.io.archive.Archive
-
Returns the compressed size in bytes of the entry at the given index.
- Compression - Search tag in class io.smallrye.common.io.archive.ArchiveBuilder
- Section
- copy(ReadableByteChannel, WritableByteChannel) - Static method in class io.smallrye.common.io.Files2
-
Copy from one channel to another in the most efficient manner supported by the JDK.
- copy(Path, Path) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copy(Path, Path, CopyOption...)with no options. - copy(Path, Path, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copy(Path, Path, CopyOption...)with one option. - copy(Path, Path, CopyOption...) - Static method in class io.smallrye.common.io.Files2
-
Copy a file as securely as possible from one path to another.
- copy(Path, Path, CopyOption, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copy(Path, Path, CopyOption...)with two options. - copy(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copy(SecureDirectoryStream, Path, SecureDirectoryStream, Path, CopyOption...)with no options. - copy(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copy(SecureDirectoryStream, Path, SecureDirectoryStream, Path, CopyOption...)with one option. - copy(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path, CopyOption...) - Static method in class io.smallrye.common.io.Files2
-
Copy a file as securely as possible from one directory and path to another.
- copy(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path, CopyOption, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copy(SecureDirectoryStream, Path, SecureDirectoryStream, Path, CopyOption...)with two options. - copyEvenIfInsecure(Path, Path) - Static method in class io.smallrye.common.io.Files2
-
Copy a file, even if secure directory streams are not supported.
- copyRecursively(Path, Path) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copyRecursively(Path, Path, CopyOption...)with no options. - copyRecursively(Path, Path, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copyRecursively(Path, Path, CopyOption...)with one option. - copyRecursively(Path, Path, CopyOption...) - Static method in class io.smallrye.common.io.Files2
-
Recursively copy a file or directory as securely as possible from one path to another.
- copyRecursively(Path, Path, CopyOption, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copyRecursively(Path, Path, CopyOption...)with two options. - copyRecursively(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copyRecursively(SecureDirectoryStream, Path, SecureDirectoryStream, Path, CopyOption...)with no options. - copyRecursively(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copyRecursively(SecureDirectoryStream, Path, SecureDirectoryStream, Path, CopyOption...)with one option. - copyRecursively(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path, CopyOption...) - Static method in class io.smallrye.common.io.Files2
-
Recursively copy a file or directory as securely as possible from one directory and path to another.
- copyRecursively(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path, CopyOption, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
copyRecursively(SecureDirectoryStream, Path, SecureDirectoryStream, Path, CopyOption...)with two options. - copyRecursivelyEvenIfInsecure(Path, Path) - Static method in class io.smallrye.common.io.Files2
-
Recursively copy a file or directory, even if secure directory streams are not supported.
- create(File) - Static method in class io.smallrye.common.io.jar.JarFiles
-
Deprecated.Returns an equivalent of
new JarFile(file). - create(File, boolean) - Static method in class io.smallrye.common.io.jar.JarFiles
-
Deprecated.Returns an equivalent of
new JarFile(file, verify). - create(String) - Static method in class io.smallrye.common.io.jar.JarFiles
-
Deprecated.Returns an equivalent of
new JarFile(name). - create(String, boolean) - Static method in class io.smallrye.common.io.jar.JarFiles
-
Deprecated.Returns an equivalent of
new JarFile(name, verify). - creationTime(long) - Method in class io.smallrye.common.io.archive.Archive
-
Returns the creation time of the entry at the given index.
- creationTime(FileTime) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a creation timestamp.
- creationTime(Instant) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a creation timestamp.
- currentDirectory() - Static method in class io.smallrye.common.io.Files2
-
Returns the current working directory path at the time that this program was started (not
null). - currentUserPrincipal() - Static method in class io.smallrye.common.io.Files2
-
Returns the
UserPrincipalcorresponding to the current process user (notnull).
D
- DEFAULT_BUFFER_SIZE - Static variable in class io.smallrye.common.io.BufferSizeOption
-
The default buffer size.
- DEFLATED - Enum constant in enum class io.smallrye.common.io.archive.ZipOption
-
Compress the entry using the DEFLATE algorithm.
- deleteRecursively(Path) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively delete the file or directory at the given path.
- deleteRecursively(SecureDirectoryStream<Path>) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively delete all of the files returned by the given directory stream.
- deleteRecursively(SecureDirectoryStream<Path>, Path) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively delete the file or directory at the given directory and path.
- deleteRecursivelyEvenIfInsecure(DirectoryStream<Path>) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively delete all of the files returned by the given directory stream, even if secure directory streams are not supported.
- deleteRecursivelyEvenIfInsecure(Path) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively delete the file or directory at the given path, even if secure directory streams are not supported.
- deleteRecursivelyQuietly(Path) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively delete the file or directory at the given path.
- deleteRecursivelyQuietly(SecureDirectoryStream<Path>) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively delete all of the files returned by the given directory stream.
- deleteRecursivelyQuietly(SecureDirectoryStream<Path>, Path) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively delete the file or directory at the given directory and path.
- deleteRecursivelyQuietlyEvenIfInsecure(DirectoryStream<Path>) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively delete all of the files returned by the given directory stream, even if secure directory streams are not supported.
- deleteRecursivelyQuietlyEvenIfInsecure(Path) - Static method in class io.smallrye.common.io.Files2
-
Attempt to recursively delete the file or directory at the given path, even if secure directory streams are not supported.
- DeleteStats - Record Class in io.smallrye.common.io
-
Statistics for a quiet file deletion operation.
- DeleteStats(long, long, long, long) - Constructor for record class io.smallrye.common.io.DeleteStats
-
Construct a new instance.
- directoriesFound() - Method in record class io.smallrye.common.io.DeleteStats
-
Returns the value of the
directoriesFoundrecord component. - directoriesRemoved() - Method in record class io.smallrye.common.io.DeleteStats
-
Returns the value of the
directoriesRemovedrecord component.
E
- entryCount() - Method in class io.smallrye.common.io.archive.Archive
-
Returns the number of entries in the archive.
- entryName(long) - Method in class io.smallrye.common.io.archive.Archive
-
Returns the name of the entry corresponding to the given index..
- entryNameEquals(long, String) - Method in class io.smallrye.common.io.archive.Archive
-
Determine whether the name of the entry at the given index is equal to the given name.
- entryNameStartsWith(long, String) - Method in class io.smallrye.common.io.archive.Archive
-
Determine whether the name of the entry at the given index starts with the given prefix.
- equals(BufferSizeOption) - Method in class io.smallrye.common.io.BufferSizeOption
-
Returns
trueif the given option has the same buffer size as this one. - equals(Object) - Method in class io.smallrye.common.io.BufferSizeOption
-
Returns
trueif the given object is aBufferSizeOptionwith the same buffer size. - equals(Object) - Method in record class io.smallrye.common.io.DeleteStats
-
Indicates whether some other object is "equal to" this one.
F
- FileAttributes - Class in io.smallrye.common.io
-
A utility class for conveniently producing
FileAttributeimplementations. - fileDescriptor() - Method in class io.smallrye.common.io.BufferedFile
-
Returns the file descriptor for this file.
- File descriptor and buffering caveats - Search tag in class io.smallrye.common.io.BufferedFile
- Section
- filePosition() - Method in class io.smallrye.common.io.BufferedFile
-
Returns the current file position.
- Files2 - Class in io.smallrye.common.io
-
Extra utilities for dealing with the filesystem which are missing from
Files. - filesFound() - Method in record class io.smallrye.common.io.DeleteStats
-
Returns the value of the
filesFoundrecord component. - filesRemoved() - Method in record class io.smallrye.common.io.DeleteStats
-
Returns the value of the
filesRemovedrecord component. - fill(int) - Method in class io.smallrye.common.io.BufferedFile
-
Attempt to fill the buffer with at least
bytesbytes of data. - findEntry(String) - Method in class io.smallrye.common.io.archive.Archive
-
Find an entry with the given name.
- findEntry(String, long, long) - Method in class io.smallrye.common.io.archive.Archive
-
Find an entry with the given name.
- flush() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- flush() - Method in class io.smallrye.common.io.BufferedFile
-
Flush any buffered data to the file.
- force(boolean) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
G
- getChannel() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- getChannel() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- getParent(Path) - Static method in class io.smallrye.common.io.Files2
-
Returns the parent of the given path, even if it is relative, or
nullif the path has no parent. - getRealName(JarEntry) - Static method in class io.smallrye.common.io.jar.JarEntries
-
Deprecated.Returns the real name of this
JarEntry.
H
- hashCode() - Method in class io.smallrye.common.io.BufferSizeOption
- hashCode() - Method in record class io.smallrye.common.io.DeleteStats
-
Returns a hash code value for this object.
- hasSecureDirectories() - Static method in class io.smallrye.common.io.Files2
-
Returns
trueif this platform has secure directories, orfalseif it does not.
I
- implCloseChannel() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- inputStream() - Method in class io.smallrye.common.io.BufferedFile
-
Returns a cached
FileInputStreamview of this file. - io.smallrye.common.io - module io.smallrye.common.io
-
Utilities for file I/O and JAR file management.
- io.smallrye.common.io - package io.smallrye.common.io
- io.smallrye.common.io.archive - package io.smallrye.common.io.archive
- io.smallrye.common.io.jar - package io.smallrye.common.io.jar
- isDirectory(long) - Method in class io.smallrye.common.io.archive.Archive
-
Determine whether the entry at the given index represents a directory.
- isMultiRelease(JarFile) - Static method in class io.smallrye.common.io.jar.JarFiles
-
Deprecated.Returns
trueif thisJarFileis a multi-release jar. - isStored(long) - Method in class io.smallrye.common.io.archive.Archive
-
Determine whether the entry at the given index is stored without compression.
J
- JarEntries - Class in io.smallrye.common.io.jar
-
Deprecated, for removal: This API element is subject to removal in a future version.
- JarFiles - Class in io.smallrye.common.io.jar
-
Deprecated, for removal: This API element is subject to removal in a future version.
L
- lastAccessTime(FileTime) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a last-access timestamp.
- lastAccessTime(Instant) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a last-access timestamp.
- lastModifiedTime(FileTime) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a last-modified timestamp.
- lastModifiedTime(Instant) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a last-modified timestamp.
- length() - Method in class io.smallrye.common.io.BufferedFile
-
Returns the current file length, including any buffered but unflushed data.
- LITTLE_ENDIAN - Enum constant in enum class io.smallrye.common.io.ByteOrderOption
-
Use little-endian byte order.
- lock(long, long, boolean) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
M
- map(FileChannel.MapMode, long, long) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- mapStoredToBuffer(long) - Method in class io.smallrye.common.io.archive.Archive
-
Map the uncompressed data of a
STOREDentry directly to a byte buffer. - mark(int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- markSupported() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- MIN_BUFFER_SIZE - Static variable in class io.smallrye.common.io.BufferSizeOption
-
The smallest allowed buffer size.
- modifiedTime(long) - Method in class io.smallrye.common.io.archive.Archive
-
Returns the last modification time of the entry at the given index.
- move(Path, Path) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
move(Path, Path, CopyOption...)with no options. - move(Path, Path, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
move(Path, Path, CopyOption...)with one option. - move(Path, Path, CopyOption...) - Static method in class io.smallrye.common.io.Files2
-
Move a file as securely as possible from one path to another.
- move(Path, Path, CopyOption, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
move(Path, Path, CopyOption...)with two options. - move(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
move(SecureDirectoryStream, Path, SecureDirectoryStream, Path, CopyOption...)with no options. - move(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
move(SecureDirectoryStream, Path, SecureDirectoryStream, Path, CopyOption...)with one option. - move(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path, CopyOption...) - Static method in class io.smallrye.common.io.Files2
-
Move a file as securely as possible from one directory and path to another.
- move(SecureDirectoryStream<Path>, Path, SecureDirectoryStream<Path>, Path, CopyOption, CopyOption) - Static method in class io.smallrye.common.io.Files2
-
Equivalent to calling
move(SecureDirectoryStream, Path, SecureDirectoryStream, Path, CopyOption...)with two options. - moveEvenIfInsecure(Path, Path) - Static method in class io.smallrye.common.io.Files2
-
Move a file or directory, even if secure directory streams are not supported.
N
- newSecureDirectoryStream(Path, LinkOption...) - Static method in class io.smallrye.common.io.Files2
-
Open a new secure directory stream at the given path.
O
- of(int) - Static method in class io.smallrye.common.io.BufferSizeOption
-
Returns an option specifying the given buffer size.
- of(ByteOrder) - Static method in enum class io.smallrye.common.io.ByteOrderOption
-
Returns the byte order option corresponding to the given byte order.
- of(Path) - Static method in class io.smallrye.common.io.archive.Archive
-
Open a ZIP archive from a filesystem file.
- ofDefault() - Static method in class io.smallrye.common.io.BufferSizeOption
-
Returns an option specifying the default buffer size.
- ofNative() - Static method in enum class io.smallrye.common.io.ByteOrderOption
-
Returns the byte order option corresponding to the native byte order of the current JVM instance.
- open(byte[]) - Static method in class io.smallrye.common.io.archive.Archive
-
Open a ZIP archive from a byte array.
- open(BufferedFile, OpenOption...) - Static method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Open a new archive builder for writing to an existing
BufferedFile. - open(BufferedFile, Collection<? extends OpenOption>) - Static method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Open a new archive builder for writing to an existing
BufferedFile. - open(ByteBuffer) - Static method in class io.smallrye.common.io.archive.Archive
-
Open a ZIP archive from a byte buffer.
- open(Path) - Static method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Open a new archive builder for writing to the given path.
- open(Path, FileAttribute<?>...) - Static method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Open a new archive builder for writing to the given path.
- open(Path, OpenOption...) - Static method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Open a new archive builder for writing to the given path, with the given options.
- open(Path, Collection<? extends OpenOption>, FileAttribute<?>...) - Static method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Open a new archive builder for writing to the given path, with the given options.
- openBuffered(Path, OpenOption...) - Static method in class io.smallrye.common.io.Files2
-
Open a buffered random-access file at the given path.
- openBuffered(Path, Collection<? extends OpenOption>) - Static method in class io.smallrye.common.io.Files2
-
Open a buffered random-access file at the given path.
- openBuffered(Path, Collection<? extends OpenOption>, Collection<? extends FileAttribute<?>>) - Static method in class io.smallrye.common.io.Files2
-
Open a buffered random-access file at the given path, atomically setting the given file attributes if the file is created.
- openEntry(long) - Method in class io.smallrye.common.io.archive.Archive
-
Open the entry at the given index as an input stream.
- openNested() - Method in class io.smallrye.common.io.BufferedFile
-
Create a nested view of this file starting at the current file position.
- openNested(Closeable) - Method in class io.smallrye.common.io.BufferedFile
-
Create a nested view of this file starting at the current file position.
- outputStream() - Method in class io.smallrye.common.io.BufferedFile
-
Returns a cached
FileOutputStreamview of this file.
P
- peek() - Method in class io.smallrye.common.io.BufferedFile
-
Read a single byte at the current position without advancing.
- peekByte() - Method in class io.smallrye.common.io.BufferedFile
-
Read a single byte at the current position without advancing.
- peekInt() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit value at the current position using the default byte order without advancing.
- peekIntBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit value at the current position using big-endian byte order without advancing.
- peekIntLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit value at the current position using little-endian byte order without advancing.
- peekLong() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit value at the current position using the default byte order without advancing.
- peekLongBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit value at the current position using big-endian byte order without advancing.
- peekLongLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit value at the current position using little-endian byte order without advancing.
- peekShort() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit value at the current position using the default byte order without advancing.
- peekShortBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit value at the current position using big-endian byte order without advancing.
- peekShortLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit value at the current position using little-endian byte order without advancing.
- peekUnsignedByte() - Method in class io.smallrye.common.io.BufferedFile
-
Read a single unsigned byte at the current position without advancing.
- peekUnsignedInt() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit unsigned value at the current position using the default byte order without advancing.
- peekUnsignedIntBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit unsigned value at the current position using big-endian byte order without advancing.
- peekUnsignedIntLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit unsigned value at the current position using little-endian byte order without advancing.
- peekUnsignedShort() - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 16-bit value at the current position using the default byte order without advancing.
- peekUnsignedShortBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 16-bit value at the current position using big-endian byte order without advancing.
- peekUnsignedShortLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 16-bit value at the current position using little-endian byte order without advancing.
- position() - Method in class io.smallrye.common.io.archive.ArchiveBuilder
-
Returns the current position within the archive, in bytes.
- position() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- position(long) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- posixPermissions(int) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a POSIX file permission set.
- posixPermissions(PosixFilePermission) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a POSIX file permission set.
- posixPermissions(PosixFilePermission...) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a POSIX file permission set.
- posixPermissions(PosixFilePermission, PosixFilePermission) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a POSIX file permission set.
- posixPermissions(PosixFilePermission, PosixFilePermission, PosixFilePermission) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a POSIX file permission set.
- posixPermissions(Set<PosixFilePermission>) - Static method in class io.smallrye.common.io.FileAttributes
-
Produce a file attribute containing a POSIX file permission set.
- privateDirectoryAttribute() - Static method in class io.smallrye.common.io.Files2
-
Returns the directory attribute that can be used to make a directory private to the current user (not
null). - privateFileAttribute() - Static method in class io.smallrye.common.io.Files2
-
Returns the file attribute that can be used to make a file private to the current user (not
null).
R
- read() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- read() - Method in class io.smallrye.common.io.BufferedFile
-
Read a single byte at the current position and advance.
- read(byte[]) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- read(byte[]) - Method in class io.smallrye.common.io.BufferedFile
-
Read bytes into the given array at the current position and advance.
- read(byte[], int, int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- read(byte[], int, int) - Method in class io.smallrye.common.io.BufferedFile
-
Read bytes into the given array at the current position and advance.
- read(long, byte[]) - Method in class io.smallrye.common.io.BufferedFile
-
Read bytes at the given file position without changing the current position.
- read(long, byte[], int, int) - Method in class io.smallrye.common.io.BufferedFile
-
Read bytes at the given file position without changing the current position.
- read(long, ByteBuffer) - Method in class io.smallrye.common.io.BufferedFile
-
Read into the given ByteBuffer at the given file position without changing the current position.
- read(ByteBuffer) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- read(ByteBuffer) - Method in class io.smallrye.common.io.BufferedFile
-
Read into the given ByteBuffer at the current position and advance.
- read(ByteBuffer[], int, int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- read(ByteBuffer, long) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- readBoolean() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readBoolean() - Method in class io.smallrye.common.io.BufferedFile
-
Read a boolean value (1 byte: 0 for false, non-zero for true) and advance.
- readBoolean(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a boolean value at the given file position without advancing the current position.
- readByte() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readByte() - Method in class io.smallrye.common.io.BufferedFile
-
Read a single byte at the current position and advance.
- readByte(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a single byte at the given file position without changing the current position.
- readChar() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readChar() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit char at the current position using the default byte order and advance.
- readChar(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit character value at the given file position using the default byte order without advancing the current position.
- readCharBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit character value at the current position using big-endian byte order and advance.
- readCharBE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit character value at the given file position using big-endian byte order without advancing the current position.
- readCharLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit character value at the current position using little-endian byte order and advance.
- readCharLE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit character value at the given file position using little-endian byte order without advancing the current position.
- readDouble() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readDouble() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit floating-point value using raw bit patterns at the current position using the default byte order and advance.
- readDouble(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit floating-point value using raw bit patterns at the given file position using the default byte order without advancing the current position.
- readDoubleBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit floating-point value using raw bit patterns at the current position using big-endian byte order and advance.
- readDoubleBE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit floating-point value using raw bit patterns at the given file position using big-endian byte order without advancing the current position.
- readDoubleLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit floating-point value using raw bit patterns at the current position using little-endian byte order and advance.
- readDoubleLE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit floating-point value using raw bit patterns at the given file position using little-endian byte order without advancing the current position.
- readFloat() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readFloat() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit floating-point value using raw bit patterns at the current position using the default byte order and advance.
- readFloat(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit floating-point value using raw bit patterns at the given file position using the default byte order without advancing the current position.
- readFloatBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit floating-point value using raw bit patterns at the current position using big-endian byte order and advance.
- readFloatBE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit floating-point value using raw bit patterns at the given file position using big-endian byte order without advancing the current position.
- readFloatLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit floating-point value using raw bit patterns at the current position using little-endian byte order and advance.
- readFloatLE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit floating-point value using raw bit patterns at the given file position using little-endian byte order without advancing the current position.
- readFully(byte[]) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readFully(byte[]) - Method in class io.smallrye.common.io.BufferedFile
-
Read exactly
dest.lengthbytes from the current position into the given array and advance. - readFully(byte[], int, int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readFully(byte[], int, int) - Method in class io.smallrye.common.io.BufferedFile
-
Read exactly
lengthbytes at the current position and advance. - readInt() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readInt() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit value at the current position using the default byte order and advance.
- readInt(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit value at the given file position using the default byte order without advancing the current position.
- readIntBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit value at the current position using big-endian byte order and advance.
- readIntBE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit value at the given file position using big-endian byte order without advancing the current position.
- readIntLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit value at the current position using little-endian byte order and advance.
- readIntLE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit value at the given file position using little-endian byte order without advancing the current position.
- readLine() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readLong() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readLong() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit value at the current position using the default byte order and advance.
- readLong(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit value at the given file position using the default byte order without advancing the current position.
- readLongBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit value at the current position using big-endian byte order and advance.
- readLongBE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit value at the given file position using big-endian byte order without advancing the current position.
- readLongLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit value at the current position using little-endian byte order and advance.
- readLongLE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 64-bit value at the given file position using little-endian byte order without advancing the current position.
- readShort() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readShort() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit value at the current position using the default byte order and advance.
- readShort(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit value at the given file position using the default byte order without changing the current position.
- readShortBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit value at the current position using big-endian byte order and advance.
- readShortBE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit value at the given file position using big-endian byte order without advancing the current position.
- readShortLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit value at the current position using little-endian byte order and advance.
- readShortLE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a 16-bit value at the given file position using little-endian byte order without advancing the current position.
- readString(int) - Method in class io.smallrye.common.io.BufferedFile
-
Read a fixed number of bytes and decode as a UTF-8 string.
- readString(int, Charset) - Method in class io.smallrye.common.io.BufferedFile
-
Read a fixed number of bytes and decode as a string using the given charset.
- readUnsignedByte() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readUnsignedByte() - Method in class io.smallrye.common.io.BufferedFile
-
Read a single unsigned byte at the current position and advance.
- readUnsignedByte(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read a single unsigned byte at the given file position without changing the current position.
- readUnsignedInt() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit unsigned value at the current position using the default byte order and advance.
- readUnsignedInt(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 32-bit value at the given file position using the default byte order without changing the current position.
- readUnsignedIntBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit unsigned value at the current position using big-endian byte order and advance.
- readUnsignedIntBE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 32-bit value at the given file position using big-endian byte order without advancing the current position.
- readUnsignedIntLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read a 32-bit unsigned value at the current position using little-endian byte order and advance.
- readUnsignedIntLE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 32-bit value at the given file position using little-endian byte order without advancing the current position.
- readUnsignedShort() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readUnsignedShort() - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 16-bit value at the current position using the default byte order and advance.
- readUnsignedShort(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 16-bit value at the given file position using the default byte order without changing the current position.
- readUnsignedShortBE() - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 16-bit value at the current position using big-endian byte order and advance.
- readUnsignedShortBE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 16-bit value at the given file position using big-endian byte order without advancing the current position.
- readUnsignedShortLE() - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 16-bit value at the current position using little-endian byte order and advance.
- readUnsignedShortLE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Read an unsigned 16-bit value at the given file position using little-endian byte order without advancing the current position.
- readUTF() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- readZeroTerminatedString() - Method in class io.smallrye.common.io.BufferedFile
-
Read a zero-terminated UTF-8 string and advance past the terminator.
- readZeroTerminatedString(Charset) - Method in class io.smallrye.common.io.BufferedFile
-
Read a zero-terminated string using the given charset and advance past the terminator.
- release() - Method in class io.smallrye.common.io.archive.Archive
-
Attempt to release some or all of the resources associated with this archive.
- remaining() - Method in class io.smallrye.common.io.BufferedFile
-
Returns the number of bytes between the current position and the end of the file.
- reset() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
S
- seek(long) - Method in class io.smallrye.common.io.BufferedFile
-
Set the file position.
- setLength(long) - Method in class io.smallrye.common.io.BufferedFile
-
Set the length of the file.
- size() - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- skip(long) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- skip(long) - Method in class io.smallrye.common.io.BufferedFile
-
Skip forward by the given number of bytes.
- skipBytes(int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileInputStream
- STORED - Enum constant in enum class io.smallrye.common.io.archive.ZipOption
-
Store the entry without compression.
- storedArchive(long) - Method in class io.smallrye.common.io.archive.Archive
-
Open a nested archive stored at the given index.
- Stream and channel views - Search tag in class io.smallrye.common.io.BufferedFile
- Section
T
- Thread safety - Search tag in class io.smallrye.common.io.BufferedFile
- Section
- Thread safety - Search tag in class io.smallrye.common.io.archive.ArchiveBuilder
- Section
- toString() - Method in class io.smallrye.common.io.BufferSizeOption
- toString() - Method in record class io.smallrye.common.io.DeleteStats
-
Returns a string representation of this record class.
- transferFrom(long, InputStream, long) - Method in class io.smallrye.common.io.BufferedFile
-
Transfer bytes from the given input stream to the given file position without changing the current position.
- transferFrom(InputStream) - Method in class io.smallrye.common.io.BufferedFile
-
Transfer all bytes from the given input stream to the current position.
- transferFrom(InputStream, long) - Method in class io.smallrye.common.io.BufferedFile
-
Transfer up to
lengthbytes from the given input stream to the current position. - transferFrom(ReadableByteChannel, long, long) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- transferTo(long, long, WritableByteChannel) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- transferTo(long, OutputStream, long) - Method in class io.smallrye.common.io.BufferedFile
-
Transfer bytes from the given file position to the output stream without changing the current position.
- transferTo(OutputStream) - Method in class io.smallrye.common.io.BufferedFile
-
Transfer all remaining bytes from the current position to the given output stream.
- transferTo(OutputStream, long) - Method in class io.smallrye.common.io.BufferedFile
-
Transfer up to
lengthbytes from the current position to the given output stream. - truncate(long) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- tryLock(long, long, boolean) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
U
- uncompressedSize(long) - Method in class io.smallrye.common.io.archive.Archive
-
Returns the uncompressed size in bytes of the entry at the given index.
- Usage example - Search tag in class io.smallrye.common.io.archive.ArchiveBuilder
- Section
- Usage example - Search tag in io.smallrye.common.io.archive.ArchiveBuilder.addArchive(String)
- Section
V
- valueOf(String) - Static method in enum class io.smallrye.common.io.archive.ZipOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.smallrye.common.io.ByteOrderOption
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.smallrye.common.io.archive.ZipOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.smallrye.common.io.ByteOrderOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- write(byte[]) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- write(byte[]) - Method in class io.smallrye.common.io.BufferedFile
-
Write all bytes from the given array to the current position and advance.
- write(byte[], int, int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- write(byte[], int, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write bytes from the given array at the current position and advance.
- write(int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- write(long, byte[], int, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write bytes at the given file position without changing the current position.
- write(long, ByteBuffer) - Method in class io.smallrye.common.io.BufferedFile
-
Write from the given ByteBuffer at the given file position without changing the current position.
- write(ByteBuffer) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- write(ByteBuffer) - Method in class io.smallrye.common.io.BufferedFile
-
Write from the given ByteBuffer at the current position and advance.
- write(ByteBuffer[], int, int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- write(ByteBuffer, long) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileChannel
- writeBoolean(boolean) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- writeBoolean(boolean) - Method in class io.smallrye.common.io.BufferedFile
-
Write a boolean value (1 byte: 0 for false, 1 for true) and advance.
- writeBoolean(long, boolean) - Method in class io.smallrye.common.io.BufferedFile
-
Write a boolean value at the given file position without advancing the current position.
- writeByte(int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- writeByte(int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a single byte at the current position and advance.
- writeByte(long, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a single byte at the given file position without changing the current position.
- writeBytes(String) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- writeChar(int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- writeChar(int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit char at the current position using the default byte order and advance.
- writeChar(long, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit character value at the given file position using the default byte order without advancing the current position.
- writeCharBE(int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit character value at the current position using big-endian byte order and advance.
- writeCharBE(long, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit character value at the given file position using big-endian byte order without advancing the current position.
- writeCharLE(int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit character value at the current position using little-endian byte order and advance.
- writeCharLE(long, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit character value at the given file position using little-endian byte order without advancing the current position.
- writeChars(String) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- writeDouble(double) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- writeDouble(double) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit floating-point value using raw bit patterns at the current position using the default byte order and advance.
- writeDouble(long, double) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit floating-point value using raw bit patterns at the given file position using the default byte order without advancing the current position.
- writeDoubleBE(double) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit floating-point value using raw bit patterns at the current position using big-endian byte order and advance.
- writeDoubleBE(long, double) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit floating-point value using raw bit patterns at the given file position using big-endian byte order without advancing the current position.
- writeDoubleLE(double) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit floating-point value using raw bit patterns at the current position using little-endian byte order and advance.
- writeDoubleLE(long, double) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit floating-point value using raw bit patterns at the given file position using little-endian byte order without advancing the current position.
- writeFloat(float) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- writeFloat(float) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit floating-point value using raw bit patterns at the current position using the default byte order and advance.
- writeFloat(long, float) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit floating-point value using raw bit patterns at the given file position using the default byte order without advancing the current position.
- writeFloatBE(float) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit floating-point value using raw bit patterns at the current position using big-endian byte order and advance.
- writeFloatBE(long, float) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit floating-point value using raw bit patterns at the given file position using big-endian byte order without advancing the current position.
- writeFloatLE(float) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit floating-point value using raw bit patterns at the current position using little-endian byte order and advance.
- writeFloatLE(long, float) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit floating-point value using raw bit patterns at the given file position using little-endian byte order without advancing the current position.
- writeInt(int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- writeInt(int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit value at the current position using the default byte order and advance.
- writeInt(long, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit value at the given file position using the default byte order without advancing the current position.
- writeIntBE(int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit value at the current position using big-endian byte order and advance.
- writeIntBE(long, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit value at the given file position using big-endian byte order without advancing the current position.
- writeIntLE(int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit value at the current position using little-endian byte order and advance.
- writeIntLE(long, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 32-bit value at the given file position using little-endian byte order without advancing the current position.
- writeLong(long) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- writeLong(long) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit value at the current position using the default byte order and advance.
- writeLong(long, long) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit value at the given file position using the default byte order without advancing the current position.
- writeLongBE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit value at the current position using big-endian byte order and advance.
- writeLongBE(long, long) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit value at the given file position using big-endian byte order without advancing the current position.
- writeLongLE(long) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit value at the current position using little-endian byte order and advance.
- writeLongLE(long, long) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 64-bit value at the given file position using little-endian byte order without advancing the current position.
- writeShort(int) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- writeShort(int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit value at the current position using the default byte order and advance.
- writeShort(long, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit value at the given file position using the default byte order without changing the current position.
- writeShortBE(int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit value at the current position using big-endian byte order and advance.
- writeShortBE(long, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit value at the given file position using big-endian byte order without advancing the current position.
- writeShortLE(int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit value at the current position using little-endian byte order and advance.
- writeShortLE(long, int) - Method in class io.smallrye.common.io.BufferedFile
-
Write a 16-bit value at the given file position using little-endian byte order without advancing the current position.
- writeString(String) - Method in class io.smallrye.common.io.BufferedFile
-
Write a UTF-8-encoded string (no terminator) and advance.
- writeString(String, Charset) - Method in class io.smallrye.common.io.BufferedFile
-
Write a string encoded with the given charset (no terminator) and advance.
- writeUTF(String) - Method in class io.smallrye.common.io.BufferedFile.BufferedFileOutputStream
- writeZeros(long) - Method in class io.smallrye.common.io.BufferedFile
-
Write the given number of zero bytes at the current position and advance.
- writeZeros(long, long) - Method in class io.smallrye.common.io.BufferedFile
-
Write zero bytes at the given file position without changing the current position.
- writeZeroTerminatedString(String) - Method in class io.smallrye.common.io.BufferedFile
-
Write a UTF-8-encoded string followed by a zero byte and advance.
- writeZeroTerminatedString(String, Charset) - Method in class io.smallrye.common.io.BufferedFile
-
Write a string encoded with the given charset, followed by a zero byte, and advance.
Z
- ZIP64 - Enum constant in enum class io.smallrye.common.io.archive.ZipOption
-
Write ZIP64 extended information in local file headers and central directory entries.
- ZIP64 support - Search tag in class io.smallrye.common.io.archive.ArchiveBuilder
- Section
- ZipOption - Enum Class in io.smallrye.common.io.archive
-
Options that control the behavior of archive creation.
All Classes and Interfaces|All Packages