Class VIteratorFile
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.internal.vfs.VFile
-
- net.lax1dude.eaglercraft.v1_8.internal.vfs.VIteratorFile
-
public class VIteratorFile extends VFile
Do not use an instance of this class outside of the VFSIterator.next() method
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VIteratorFile.AsyncHandlers
-
Field Summary
-
Fields inherited from class net.lax1dude.eaglercraft.v1_8.internal.vfs.VFile
altPathSeperator, path, pathSeperator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canRead()
boolean
canWrite()
boolean
delete()
int
deleteAll()
boolean
equals(java.lang.Object o)
boolean
exists()
byte[]
getAllBytes()
byte[]
getAllBytes(boolean copy)
java.lang.String
getAllChars()
java.lang.String[]
getAllLines()
void
getBytes(int fileOffset, byte[] array, int offset, int length)
java.io.InputStream
getInputStream()
java.lang.String
getName()
java.io.OutputStream
getOutputStream()
java.lang.String
getParent()
java.lang.String
getPath()
int
hashCode()
boolean
isRelative()
int
length()
java.util.List<java.lang.String>
list()
VFile
makeVFile()
boolean
renameTo(java.lang.String p)
boolean
setAllBytes(byte[] bytes)
boolean
setAllBytes(byte[] bytes, boolean copy)
boolean
setAllChars(java.lang.String bytes)
void
setCacheEnabled()
java.lang.String
toString()
-
Methods inherited from class net.lax1dude.eaglercraft.v1_8.internal.vfs.VFile
createPath, normalizePath, renameTo, splitPath
-
-
-
-
Method Detail
-
makeVFile
public VFile makeVFile()
-
getInputStream
public java.io.InputStream getInputStream()
- Overrides:
getInputStream
in classVFile
-
getOutputStream
public java.io.OutputStream getOutputStream()
- Overrides:
getOutputStream
in classVFile
-
isRelative
public boolean isRelative()
- Overrides:
isRelative
in classVFile
-
renameTo
public boolean renameTo(java.lang.String p)
-
getBytes
public void getBytes(int fileOffset, byte[] array, int offset, int length)
-
setCacheEnabled
public void setCacheEnabled()
- Overrides:
setCacheEnabled
in classVFile
-
getAllBytes
public byte[] getAllBytes()
- Overrides:
getAllBytes
in classVFile
-
getAllChars
public java.lang.String getAllChars()
- Overrides:
getAllChars
in classVFile
-
getAllLines
public java.lang.String[] getAllLines()
- Overrides:
getAllLines
in classVFile
-
getAllBytes
public byte[] getAllBytes(boolean copy)
- Overrides:
getAllBytes
in classVFile
-
setAllChars
public boolean setAllChars(java.lang.String bytes)
- Overrides:
setAllChars
in classVFile
-
setAllBytes
public boolean setAllBytes(byte[] bytes)
- Overrides:
setAllBytes
in classVFile
-
setAllBytes
public boolean setAllBytes(byte[] bytes, boolean copy)
- Overrides:
setAllBytes
in classVFile
-
-