public class

PdfViewCtrlTabBaseFragment.SaveFolderWrapper

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.controls.PdfViewCtrlTabBaseFragment.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(Uri targetUri)
SaveFolderWrapper(ExternalFileInfo ext, String fileName, boolean needsCopy, String suffix)
SaveFolderWrapper(File local, String fileName, boolean needsCopy, String suffix)
Public Methods
void cleanup()
PDFDoc getDoc()
ExternalFileInfo getNewExternalFile()
Uri getNewExternalUri()
File getNewLocalFile()
String getNewTabTag()
String getNewTabTitle()
int getNewTabType()
ExternalFileInfo getSelectedExternalFolder()
File getSelectedFolder()
Uri getTargetUri()
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 (Uri targetUri)

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

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

Public Methods

public void cleanup ()

public PDFDoc getDoc ()

public ExternalFileInfo getNewExternalFile ()

public Uri getNewExternalUri ()

public File getNewLocalFile ()

public String getNewTabTag ()

public String getNewTabTitle ()

public int getNewTabType ()

public ExternalFileInfo getSelectedExternalFolder ()

public File getSelectedFolder ()

public Uri getTargetUri ()

public boolean isLocal ()

public void openInNewTab ()

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

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