public class

PdfViewCtrlTabFragment.SaveFolderWrapper

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.controls.PdfViewCtrlTabFragment.SaveFolderWrapper

Class Overview

Wraps either a File or an ExternalFileInfo in order to make saving easier.

Summary

Public Constructors
SaveFolderWrapper(ExternalFileInfo ext, String suffix)
SaveFolderWrapper(File local, String suffix)
SaveFolderWrapper(ExternalFileInfo ext, boolean needsCopy)
SaveFolderWrapper(File local, boolean needsCopy)
SaveFolderWrapper(ExternalFileInfo ext, boolean needsCopy, String suffix)
SaveFolderWrapper(File local, boolean needsCopy, String suffix)
Public Methods
void cleanup()
PDFDoc getDoc()
String getFileName(boolean needsCopy, String suffix)
Uri getNewExternalUri()
File getNewLocalFile()
String getNewTabTag()
String getNewTabTitle()
int getNewTabType()
boolean isLocal()
void openInNewTab()
Pair<Boolean, String> save(PDFDoc doc, boolean closeDoc)
Pair<Boolean, String> save(PDFDoc doc)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SaveFolderWrapper (ExternalFileInfo ext, String suffix)

public SaveFolderWrapper (File local, String suffix)

public SaveFolderWrapper (ExternalFileInfo ext, boolean needsCopy)

public SaveFolderWrapper (File local, boolean needsCopy)

public SaveFolderWrapper (ExternalFileInfo ext, boolean needsCopy, String suffix)

public SaveFolderWrapper (File local, boolean needsCopy, String suffix)

Public Methods

public void cleanup ()

public PDFDoc getDoc ()

public String getFileName (boolean needsCopy, String suffix)

public Uri getNewExternalUri ()

public File getNewLocalFile ()

public String getNewTabTag ()

public String getNewTabTitle ()

public int getNewTabType ()

public boolean isLocal ()

public void openInNewTab ()

public Pair<Boolean, String> save (PDFDoc doc, boolean closeDoc)

public Pair<Boolean, String> save (PDFDoc doc)