[Java] Class WritableFile
- org.codehaus.groovy.runtime.WritableFile
- All Implemented Interfaces and Traits:
- Writable
public class WritableFile extends File implements Writable
A Writable File.
Fields inherited from class | Fields |
---|---|
class File | separatorChar, separator, pathSeparatorChar, pathSeparator |
Constructor Summary
Constructor and description |
---|
WritableFile
(File delegate) |
WritableFile
(File delegate, String encoding) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public Writer |
writeTo(Writer out) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class File | equals, length, toString, hashCode, compareTo, compareTo, getName, list, list, getParent, isAbsolute, delete, setReadOnly, canRead, getPath, toURI, toURL, getParentFile, getAbsolutePath, getAbsoluteFile, getCanonicalPath, getCanonicalFile, isDirectory, canWrite, exists, isFile, isHidden, lastModified, createNewFile, deleteOnExit, listFiles, listFiles, listFiles, mkdir, mkdirs, renameTo, setLastModified, setWritable, setWritable, setReadable, setReadable, setExecutable, setExecutable, canExecute, listRoots, getTotalSpace, getFreeSpace, getUsableSpace, createTempFile, createTempFile, toPath, wait, wait, wait, getClass, notify, notifyAll |
Constructor Detail
public WritableFile(File delegate)
public WritableFile(File delegate, String encoding)
Method Detail
public Writer writeTo(Writer out)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/runtime/WritableFile.html