|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use File | |
---|---|
com.google.api.services.drive | |
com.google.api.services.drive.model |
Uses of File in com.google.api.services.drive |
---|
Methods in com.google.api.services.drive with parameters of type File | |
---|---|
Drive.Files.Copy |
Drive.Files.copy(java.lang.String fileId,
File content)
Creates a copy of the specified file. |
Drive.Files.Insert |
Drive.Files.insert(File content)
Insert a new file. |
Drive.Files.Insert |
Drive.Files.insert(File content,
AbstractInputStreamContent mediaContent)
Insert a new file. |
Drive.Files.Patch |
Drive.Files.patch(java.lang.String fileId,
File content)
Updates file metadata and/or content. |
Drive.Files.Update |
Drive.Files.update(java.lang.String fileId,
File content)
Updates file metadata and/or content Create a request for the method "files.update". |
Drive.Files.Update |
Drive.Files.update(java.lang.String fileId,
File content,
AbstractInputStreamContent mediaContent)
Updates file metadata and/or content Create a request for the method "files.update". |
Uses of File in com.google.api.services.drive.model |
---|
Methods in com.google.api.services.drive.model that return File | |
---|---|
File |
Change.getFile()
The updated state of the file. |
File |
File.setAlternateLink(java.lang.String alternateLink)
A link for opening the file in using a relevant Google editor or viewer. |
File |
File.setCreatedDate(DateTime createdDate)
Create time for this file (formatted ISO8601 timestamp). |
File |
File.setDescription(java.lang.String description)
A short description of the file. |
File |
File.setDownloadUrl(java.lang.String downloadUrl)
Short term download URL for the file. |
File |
File.setEditable(java.lang.Boolean editable)
Whether the file can be edited by the current user. |
File |
File.setEmbedLink(java.lang.String embedLink)
A link for embedding the file. |
File |
File.setEtag(java.lang.String etag)
ETag of the file. |
File |
File.setExplicitlyTrashed(java.lang.Boolean explicitlyTrashed)
Whether this file has been explicitly trashed, as opposed to recursively trashed. |
File |
File.setExportLinks(java.util.Map<java.lang.String,java.lang.String> exportLinks)
Links for exporting Google Docs to specific formats. |
File |
File.setFileExtension(java.lang.String fileExtension)
The file extension used when downloading this file. |
File |
File.setFileSize(java.lang.Long fileSize)
The size of the file in bytes. |
File |
File.setIconLink(java.lang.String iconLink)
A link to the file's icon. |
File |
File.setId(java.lang.String id)
The id of the file. |
File |
File.setImageMediaMetadata(File.ImageMediaMetadata imageMediaMetadata)
Metadata about image media. |
File |
File.setIndexableText(File.IndexableText indexableText)
Indexable text attributes for the file (can only be written) The value set may be null . |
File |
File.setKind(java.lang.String kind)
The type of file. |
File |
File.setLabels(File.Labels labels)
A group of labels for the file. |
File |
File.setLastModifyingUserName(java.lang.String lastModifyingUserName)
Name of the last user to modify this file. |
File |
File.setLastViewedByMeDate(DateTime lastViewedByMeDate)
Last time this file was viewed by the user (formatted RFC 3339 timestamp). |
File |
File.setMd5Checksum(java.lang.String md5Checksum)
An MD5 checksum for the content of this file. |
File |
File.setMimeType(java.lang.String mimeType)
The MIME type of the file. |
File |
File.setModifiedByMeDate(DateTime modifiedByMeDate)
Last time this file was modified by the user (formatted RFC 3339 timestamp). |
File |
File.setModifiedDate(DateTime modifiedDate)
Last time this file was modified by anyone (formatted RFC 3339 timestamp). |
File |
File.setOriginalFilename(java.lang.String originalFilename)
The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. |
File |
File.setOwnerNames(java.util.List<java.lang.String> ownerNames)
Name(s) of the owner(s) of this file. |
File |
File.setParents(java.util.List<ParentReference> parents)
Collection of parent folders which contain this file. |
File |
File.setQuotaBytesUsed(java.lang.Long quotaBytesUsed)
The number of quota bytes used by this file. |
File |
File.setSelfLink(java.lang.String selfLink)
A link back to this file. |
File |
File.setShared(java.lang.Boolean shared)
Whether the file has been shared. |
File |
File.setSharedWithMeDate(DateTime sharedWithMeDate)
Time at which this file was shared with the user (formatted RFC 3339 timestamp). |
File |
File.setThumbnail(File.Thumbnail thumbnail)
Thumbnail for the file. |
File |
File.setThumbnailLink(java.lang.String thumbnailLink)
A link to the file's thumbnail. |
File |
File.setTitle(java.lang.String title)
The title of this file. |
File |
File.setUserPermission(Permission userPermission)
The permissions for the authenticated user on this file. |
File |
File.setWebContentLink(java.lang.String webContentLink)
A link for downloading the content of the file in a browser using cookie based authentication. |
File |
File.setWebViewLink(java.lang.String webViewLink)
A link only available on public folders for viewing their static web assets (HTML, CSS, JS, etc) via Google Drive's Website Hosting. |
File |
File.setWritersCanShare(java.lang.Boolean writersCanShare)
Whether writers can share the document with other users. |
Methods in com.google.api.services.drive.model that return types with arguments of type File | |
---|---|
java.util.List<File> |
FileList.getItems()
The actual list of files. |
Methods in com.google.api.services.drive.model with parameters of type File | |
---|---|
Change |
Change.setFile(File file)
The updated state of the file. |
Method parameters in com.google.api.services.drive.model with type arguments of type File | |
---|---|
FileList |
FileList.setItems(java.util.List<File> items)
The actual list of files. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |