Kofax Mobile SDK API Reference
Public Member Functions | List of all members
IBundleFile Interface Reference

Public Member Functions

boolean isDirectory ()
 
File getFile ()
 
void getFile (File output)
 
String getAbsolutePath ()
 
String getName ()
 

Detailed Description

An "abstract" representation of file system entity.

Member Function Documentation

String getAbsolutePath ( )

The absolute path within whatever storage container this IBundleFile resides. Implementation dependent.

Returns
The absolute path of this file
File getFile ( )

Creates a temporary file, and streams the bundle file to the temp file.

Returns
The file on disk
void getFile ( File  output)

Streams the bundle file to the given file. Similar to getFile(), this override allows the caller to specify the location of the streamed file. When this method returns, it is safe to read from the file

Parameters
outputThe file to write to
String getName ( )

The name of this IBundleFile with no path information.

Returns
The file name
boolean isDirectory ( )

Indicates if this bundle file instance represents a directory on the underlying file system. The file may be, despite the name IBundleFile, a directory or a file.

Returns
true if this is a directory, false otherwise

The documentation for this interface was generated from the following file:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.