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 classVIteratorFile.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 booleancanRead()booleancanWrite()booleandelete()intdeleteAll()booleanequals(java.lang.Object o)booleanexists()byte[]getAllBytes()byte[]getAllBytes(boolean copy)java.lang.StringgetAllChars()java.lang.String[]getAllLines()voidgetBytes(int fileOffset, byte[] array, int offset, int length)java.io.InputStreamgetInputStream()java.lang.StringgetName()java.io.OutputStreamgetOutputStream()java.lang.StringgetParent()java.lang.StringgetPath()inthashCode()booleanisRelative()intlength()java.util.List<java.lang.String>list()VFilemakeVFile()booleanrenameTo(java.lang.String p)booleansetAllBytes(byte[] bytes)booleansetAllBytes(byte[] bytes, boolean copy)booleansetAllChars(java.lang.String bytes)voidsetCacheEnabled()java.lang.StringtoString()-
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:
getInputStreamin classVFile
-
getOutputStream
public java.io.OutputStream getOutputStream()
- Overrides:
getOutputStreamin classVFile
-
isRelative
public boolean isRelative()
- Overrides:
isRelativein 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:
setCacheEnabledin classVFile
-
getAllBytes
public byte[] getAllBytes()
- Overrides:
getAllBytesin classVFile
-
getAllChars
public java.lang.String getAllChars()
- Overrides:
getAllCharsin classVFile
-
getAllLines
public java.lang.String[] getAllLines()
- Overrides:
getAllLinesin classVFile
-
getAllBytes
public byte[] getAllBytes(boolean copy)
- Overrides:
getAllBytesin classVFile
-
setAllChars
public boolean setAllChars(java.lang.String bytes)
- Overrides:
setAllCharsin classVFile
-
setAllBytes
public boolean setAllBytes(byte[] bytes)
- Overrides:
setAllBytesin classVFile
-
setAllBytes
public boolean setAllBytes(byte[] bytes, boolean copy)- Overrides:
setAllBytesin classVFile
-
-