Class Overview
Singleton class to manage favorite files
Summary
[Expand]
Inherited Methods |
From class
com.pdftron.pdf.utils.FileInfoManager
void
|
addFile(Context context, FileInfo fileInfo)
Adds the specified file into the repository.
|
void
|
clearFiles(Context context)
Removes all files from the repository.
|
boolean
|
containsFile(Context context, FileInfo fileInfo)
Checks whether the specified file exists in the repository.
|
FileInfo
|
getFile(Context context, FileInfo fileInfo)
Returns the file in the repository that equals to the specified file.
|
FileInfo
|
getFile(Context context, int index)
Returns the n'th file added into the repository.
|
List<FileInfo>
|
getFiles(Context context)
Returns all files in the repository
|
boolean
|
isEmpty(Context context)
Checks whether there is any file in the repository.
|
boolean
|
removeFile(Context context, FileInfo fileToRemove)
Removes the specified file from the repository.
|
List<FileInfo>
|
removeFiles(Context context, List<FileInfo> filesToRemove)
Removes the specified files from the repository.
|
void
|
saveFiles(Context context, List<FileInfo> files)
Saves the specified files into the repository.
|
int
|
size(Context context)
Returns the number of files in the repository.
|
boolean
|
updateFile(Context context, FileInfo oldFile, FileInfo newFile)
Updates the file in the repository.
|
void
|
updateFile(Context context, FileInfo fileInfo)
Updates the information of the specified file in the repository.
|
|
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods