

DirAssets As String Returns a reference to the files added to the Files tab. Files in the assets folder cannot be deleted. Returns true if the file was successfully deleted. If the file name is a directory then it must be empty in order to be deleted.

DirInternal, "1.txt")) Complete ( Success As Boolean) Log( "Success: " & Success) Delete ( Dir As String, FileName As String) As BooleanDeletes the specified file. Returns an object that should be used as the sender filter. Note that it is not possible to copy files to the Assets folder. Copy2Async( in, out)) Complete ( Success As Boolean) Log( "Success: " & Success) CopyAsync ( DirSource As String, FileSource As String, DirTarget As String, FileTarget As String) As ObjectAsynchronously copies the source file to the target path. The input stream is automatically closed at the end. OutputStream) As ObjectAsynchronously copies all the available data from the input stream into the output stream. OutputStream)Copies all the available data from the input stream into the output stream. Copy ( DirSource As String, FileSource As String, DirTarget As String, FileTarget As String)Copies the specified source file to the target file name. This methods does not support files in the assets folder.

#Android 4.4.2 asset filr date modified full#
OutputStream) As Object CopyAsync ( DirSource As String, FileSource As String, DirTarget As String, FileTarget As String) As Object Delete ( Dir As String, FileName As String) As Boolean DirAssets As String DirDefaultExternal As String DirInternal As String DirInternalCache As String DirRootExternal As String Exists ( Dir As String, FileName As String) As Boolean ExternalReadable As Boolean ExternalWritable As Boolean GetText ( Dir As String, FileName As String) As String IsDirectory ( Dir As String, FileName As String) As Boolean LastModified ( Dir As String, FileName As String) As Long ListFiles ( Dir As String) As List ListFilesAsync ( Dir As String) As Object MakeDir ( Parent As String, Dir As String) OpenInput ( Dir As String, FileName As String) As InputStream OpenOutput ( Dir As String, FileName As String, Append As Boolean) As OutputStream ReadBytes ( Dir As String, FileName As String) As Byte() ReadList ( Dir As String, FileName As String) As List ReadMap ( Dir As String, FileName As String) As Map ReadMap2 ( Dir As String, FileName As String, Map As Map) As Map ReadString ( Dir As String, FileName As String) As String Size ( Dir As String, FileName As String) As Long WriteBytes ( Dir As String, FileName As String, Data() As Byte) WriteList ( Dir As String, FileName As String, List As List) WriteMap ( Dir As String, FileName As String, Map As Map) WriteString ( Dir As String, FileName As String, Text As String) Members description: Combine ( Dir As String, FileName As String) As StringReturns the full path to the given file. Members: Combine ( Dir As String, FileName As String) As String Copy ( DirSource As String, FileSource As String, DirTarget As String, FileTarget As String) Copy2 ( In As java. The Text files tutorial covers most of the File methods and concepts. Press on the image to return to the main documentation page.įiles (Core) List of types: File InputStream OutputStream TextReader TextWriter FileFile is a predefined object that holds methods for working with files.
