| Fields inherited from class | Fields |
|---|---|
class File |
separatorChar, separator, pathSeparatorChar, pathSeparator |
| Constructor and description |
|---|
WritableFile(File delegate)Constructs a WritableFile from a delegate File with default character encoding. |
WritableFile(File delegate, String encoding)Constructs a WritableFile from a delegate File with optional character encoding. |
| Methods inherited from class | Name |
|---|---|
class File |
canExecute, canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getClass, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, notify, notifyAll, renameTo, setExecutable, setExecutable, setLastModified, setReadOnly, setReadable, setReadable, setWritable, setWritable, toPath, toString, toURI, toURL, wait, wait, wait |
Constructs a WritableFile from a delegate File with default character encoding.
delegate - the underlying File to wrapWrites this file's contents to the specified Writer. If encoding was specified, uses that encoding when reading the file.
out - the Writer to write the file contents toCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.