|
A read or write object used for accessing or creating a compressed file. You can perform read OR write objects on the buffer but not both.
Method Detailcleanup() Releases resources. Best practice is to call this once you are done with this FileBuffer. Available in both 'read' and 'write' FileBuffer. Since: 08-27-2013 File getFile(String filename) Returns the specified file. Available in a 'read' FileBuffer.
Parameters:
Returns: File Since: 08-27-2013 UnknownFile getUnknownFile(String filename) Returns the specified file as unknown file. Available in a 'read' FileBuffer.
Parameters:
Returns: UnknownFile Since: 09-14-2018 PacketDataList listFiles() Returns a DataList of all the contents of this FileBuffer. Available in a 'read' FileBuffer. Returns: PacketDataList DataList Name: files DataList Fields: folder, file, fileSize, ext, modified Since: 08-27-2013 putFile(File file) Adds the file. Available in a 'write' FileBuffer.
Parameters:
Since: 08-27-2013 putFile(String folder, File file) Adds the file to the specified folder. Use forward slash '/' for multiple folders. Available in a 'write' FileBuffer.
Parameters:
Since: 08-27-2013 putFile(String folder, File file, String newFilename) Adds the file to the specified folder with a new filename. Use forward slash '/' for multiple folders. Available in a 'write' FileBuffer.
Parameters:
Since: 04-16-2014 DocumentFile toDocumentFile(String docfile) Creates a new DocumentFile from the contents of this FileBuffer. This can then be used for creating a Document. The docfile parameter must be the name of the XHTML document within the compressed file containing the content to be used for the document.
Parameters:
Returns: DocumentFile Since: 08-27-2013 File toFile(String filename) Does final compression and creates a new File from the contents of this FileBuffer. Available in a 'write' FileBuffer.
Parameters:
Returns: File Since: 08-27-2013 String toString() Returns a description of this object. Returns: String Since: 08-27-2013 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Nov 22, 2024 11:54 AM |