Package org.codehaus.groovy.runtime
Class WritablePath
- java.lang.Object
-
- org.codehaus.groovy.runtime.WritablePath
-
@Deprecated public class WritablePath extends Object implements Path, groovy.lang.Writable
Deprecated.A Writable Path.
-
-
Constructor Summary
Constructors Constructor Description WritablePath(Path delegate)Deprecated.WritablePath(Path delegate, String encoding)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcompareTo(Path other)Deprecated.booleanendsWith(String other)Deprecated.booleanendsWith(Path other)Deprecated.booleanequals(Object other)Deprecated.PathgetFileName()Deprecated.FileSystemgetFileSystem()Deprecated.PathgetName(int index)Deprecated.intgetNameCount()Deprecated.PathgetParent()Deprecated.PathgetRoot()Deprecated.inthashCode()Deprecated.booleanisAbsolute()Deprecated.Iterator<Path>iterator()Deprecated.Pathnormalize()Deprecated.WatchKeyregister(WatchService watcher, WatchEvent.Kind<?>... events)Deprecated.WatchKeyregister(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers)Deprecated.Pathrelativize(Path other)Deprecated.Pathresolve(String other)Deprecated.Pathresolve(Path other)Deprecated.PathresolveSibling(String other)Deprecated.PathresolveSibling(Path other)Deprecated.booleanstartsWith(String other)Deprecated.booleanstartsWith(Path other)Deprecated.Pathsubpath(int beginIndex, int endIndex)Deprecated.PathtoAbsolutePath()Deprecated.FiletoFile()Deprecated.PathtoRealPath(LinkOption... options)Deprecated.StringtoString()Deprecated.URItoUri()Deprecated.WriterwriteTo(Writer out)Deprecated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
writeTo
public Writer writeTo(Writer out) throws IOException
Deprecated.- Specified by:
writeToin interfacegroovy.lang.Writable- Throws:
IOException
-
getFileSystem
public FileSystem getFileSystem()
Deprecated.- Specified by:
getFileSystemin interfacePath
-
isAbsolute
public boolean isAbsolute()
Deprecated.- Specified by:
isAbsolutein interfacePath
-
getFileName
public Path getFileName()
Deprecated.- Specified by:
getFileNamein interfacePath
-
getNameCount
public int getNameCount()
Deprecated.- Specified by:
getNameCountin interfacePath
-
subpath
public Path subpath(int beginIndex, int endIndex)
Deprecated.
-
startsWith
public boolean startsWith(Path other)
Deprecated.- Specified by:
startsWithin interfacePath
-
startsWith
public boolean startsWith(String other)
Deprecated.- Specified by:
startsWithin interfacePath
-
endsWith
public boolean endsWith(String other)
Deprecated.
-
resolveSibling
public Path resolveSibling(Path other)
Deprecated.- Specified by:
resolveSiblingin interfacePath
-
resolveSibling
public Path resolveSibling(String other)
Deprecated.- Specified by:
resolveSiblingin interfacePath
-
relativize
public Path relativize(Path other)
Deprecated.- Specified by:
relativizein interfacePath
-
toAbsolutePath
public Path toAbsolutePath()
Deprecated.- Specified by:
toAbsolutePathin interfacePath
-
toRealPath
public Path toRealPath(LinkOption... options) throws IOException
Deprecated.- Specified by:
toRealPathin interfacePath- Throws:
IOException
-
register
public WatchKey register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) throws IOException
Deprecated.- Specified by:
registerin interfacePath- Specified by:
registerin interfaceWatchable- Throws:
IOException
-
register
public WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events) throws IOException
Deprecated.- Specified by:
registerin interfacePath- Specified by:
registerin interfaceWatchable- Throws:
IOException
-
compareTo
public int compareTo(Path other)
Deprecated.- Specified by:
compareToin interfaceComparable<Path>- Specified by:
compareToin interfacePath
-
equals
public boolean equals(Object other)
Deprecated.
-
hashCode
public int hashCode()
Deprecated.
-
-