Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
D
F
G
L
M
P
S
T
U
V
B
buildList(String)
- Method in class
FileBrowser
Top-level method called from Driver.
buildList(File)
- Method in class
FileBrowser
Recursive method that will traverse a directory.
C
c
- Variable in class
Document
Used for convenience.
D
dl
- Variable in class
FileBrowser
private data member to store list containing documents
Document
- Class in
<Unnamed>
Wrapper around a File object.
Document(File)
- Constructor for class
Document
Constructor for Document.
DocumentList
- Class in
<Unnamed>
DocumentList stores a list of Document objects.
DocumentList()
- Constructor for class
DocumentList
DocUploader
- Class in
<Unnamed>
Upload a document to Google Docs.
DocUploader()
- Constructor for class
DocUploader
Driver
- Class in
<Unnamed>
Main starting point for FileBrowser program
Driver()
- Constructor for class
Driver
du
- Variable in class
FileBrowser
private data member to store a reference to object that performs document upload
F
f
- Variable in class
Document
File represented by this Document object.
FileBrowser
- Class in
<Unnamed>
FileBrowser class contains main logic for file browsing program.
FileBrowser()
- Constructor for class
FileBrowser
Constructor takes no input and will create a new DocumentList object and a new DocUploader object.
filepath
- Variable in class
UploadInfo
G
getAbsolutePath()
- Method in class
Document
Return the absolute path of the File object.
getAbsolutePath(int)
- Method in class
DocumentList
Return the absolute path of the Document at the position of the list specified by fileid.
getChoice()
- Method in class
UI
Primary method that prompts for a selection from the user and returns the selection.
getFilepath()
- Method in class
UploadInfo
Returns filepath
getName()
- Method in class
Document
Return the name of the File object.
getPassword()
- Method in class
UploadInfo
Returns password
getPattern()
- Method in class
UI
Method called if selection is 3.
getUploadInfo()
- Method in class
UI
Method called if selection is 4.
getUsername()
- Method in class
UploadInfo
Returns username
L
lastModified()
- Method in class
Document
Return the last modified date of the File object.
list
- Variable in class
UI
maintains a reference to the DocumentList object for convenience.
M
main(String[])
- Static method in class
Driver
main method expects exactly one parameter.
P
password
- Variable in class
UploadInfo
print()
- Method in class
DocumentList
Print the entire list of Document objects.
printEndsWith(String)
- Method in class
DocumentList
Print all Document objects that have a name ending with the specified pattern.
printMatches(String)
- Method in class
DocumentList
Print all Document objects that have a name containing the specified pattern.
S
sortByDate()
- Method in class
DocumentList
Sort this ArrayList based on the last modified date of the Files contained in each Document object.
sortByName()
- Method in class
DocumentList
Sort this ArrayList based on the name of the Files contained in each Document object.
T
toString()
- Method in class
Document
Return a string representation of this document.
U
UI
- Class in
<Unnamed>
UI class handles most of the user interaction (input/output).
UI(DocumentList)
- Constructor for class
UI
Constructor accepts a reference to the DocumentList.
uploadDoc(UploadInfo)
- Method in class
DocUploader
UploadInfo object contains username, password, and filepath to use for upload.
UploadInfo
- Class in
<Unnamed>
Wrapper class that contains information necessary to upload a document to Google Docs.
UploadInfo(String, String, String)
- Constructor for class
UploadInfo
Construct an UploadInfo object with username, password, and filepath.
username
- Variable in class
UploadInfo
V
viewDocs()
- Method in class
FileBrowser
Main logic of the program.
B
C
D
F
G
L
M
P
S
T
U
V
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes