A B C D E F G H I J L M N O P Q R S T U V W X

A

abbreviate(String, int) - Static method in class net.netheos.pcsapi.utils.PcsUtils
Abbreviate a string if longer than maxLen.
abort() - Method in class net.netheos.pcsapi.bytesio.ByteSinkStream
Aborts operations with this stream (writes will stop before expected end).
abort() - Method in class net.netheos.pcsapi.bytesio.MemoryByteSinkStream
 
abort() - Method in class net.netheos.pcsapi.bytesio.ProgressByteSinkStream
 
aborted() - Method in interface net.netheos.pcsapi.bytesio.ProgressListener
Called when current operation is aborted (may be retried)
aborted() - Method in class net.netheos.pcsapi.bytesio.StdoutProgressListener
 
add(String) - Method in class net.netheos.pcsapi.models.CPath
Adds a component to the current path
addChild(String, String) - Method in class net.netheos.pcsapi.providers.cloudme.CMFolder
Adds a child folder
addHeader(String, String) - Method in class net.netheos.pcsapi.request.Headers
Add a new header to the list
addHeader(Header) - Method in class net.netheos.pcsapi.request.Headers
Add a new header to the list
addNullParameter(String) - Method in class net.netheos.pcsapi.utils.URIBuilder
Add a null query parameter (without any value).
addParameter(String, String) - Method in class net.netheos.pcsapi.utils.URIBuilder
Add a single query parameter.
ANDROID - Static variable in class net.netheos.pcsapi.utils.PcsUtils
 
AppInfo - Interface in net.netheos.pcsapi.credentials
Contains the application information.
AppInfoFileRepository - Class in net.netheos.pcsapi.credentials
This class is a simple reader of applications information from a plain text file with format: providerName1.appName1 = jsonobject1 providerName1.appName2 = jsonobject2
AppInfoFileRepository(File) - Constructor for class net.netheos.pcsapi.credentials.AppInfoFileRepository
 
AppInfoRepository - Interface in net.netheos.pcsapi.credentials
Represents a repository that contains the application (client) info
asDom() - Method in class net.netheos.pcsapi.request.CResponse
Get the response as a DOM
asJSONArray() - Method in class net.netheos.pcsapi.request.CResponse
Get the response as a json array
asJSONObject() - Method in class net.netheos.pcsapi.request.CResponse
Get the response as a json object
asString() - Method in class net.netheos.pcsapi.request.CResponse
Extracts string from input stream
AUTHORIZATION_CODE - Static variable in class net.netheos.pcsapi.oauth.OAuth2
 

B

build() - Method in class net.netheos.pcsapi.storage.StorageBuilder
Builds a provider-specific storage implementation, by passing this builder in constructor.
build() - Method in class net.netheos.pcsapi.utils.URIBuilder
Build the URI with the given informations
buildCMFile(CMFolder, Element) - Static method in class net.netheos.pcsapi.providers.cloudme.CMBlob
Factory method that builds a CMBlob based on a XML "atom:entry" element
buildCStorageException(CResponse, String, CPath) - Static method in class net.netheos.pcsapi.utils.PcsUtils
Some common code between providers.
ByteSink - Interface in net.netheos.pcsapi.bytesio
Represents a destination where bytes can be written
ByteSinkStream - Class in net.netheos.pcsapi.bytesio
ByteSinkStream are FilterOutputStream that can abort current operations
ByteSinkStream(OutputStream) - Constructor for class net.netheos.pcsapi.bytesio.ByteSinkStream
Creates a ByteSinkStream by assigning the argument out to the field this.in so as to remember it for later use.
ByteSource - Interface in net.netheos.pcsapi.bytesio
Readable source of bytes that supplies an ByteSink
ByteSourceBody - Class in net.netheos.pcsapi.request
Adapter class to represent a byte source as an http entity (for uploads).
ByteSourceBody(ByteSource, String, String) - Constructor for class net.netheos.pcsapi.request.ByteSourceBody
 
ByteSourceEntity - Class in net.netheos.pcsapi.request
Adapter class to represent a byte source as an http entity (for uploads).
ByteSourceEntity(ByteSource) - Constructor for class net.netheos.pcsapi.request.ByteSourceEntity
 

C

call() - Method in class net.netheos.pcsapi.request.HttpRequestor
 
call() - Method in class net.netheos.pcsapi.request.RequestInvoker
Performs and validates http request.
CAuthenticationException - Exception in net.netheos.pcsapi.exceptions
http 401 error.
CAuthenticationException(String, CResponse) - Constructor for exception net.netheos.pcsapi.exceptions.CAuthenticationException
 
CBlob - Class in net.netheos.pcsapi.models
Represents a blob of data as opposed to a folder
CBlob(CPath, long, String) - Constructor for class net.netheos.pcsapi.models.CBlob
 
CBlob(CPath, long, String, Date, CMetadata) - Constructor for class net.netheos.pcsapi.models.CBlob
 
CBlob(CPath) - Constructor for class net.netheos.pcsapi.models.CBlob
 
CDownloadRequest - Class in net.netheos.pcsapi.models
Class that parametrizes a download request: path + bytes sink + (optional) byte range
CDownloadRequest(CPath, ByteSink) - Constructor for class net.netheos.pcsapi.models.CDownloadRequest
 
CFile - Class in net.netheos.pcsapi.models
Represents a file (folder or blob) located in the cloud
CFile(CPath) - Constructor for class net.netheos.pcsapi.models.CFile
 
CFileNotFoundException - Exception in net.netheos.pcsapi.exceptions
 
CFileNotFoundException(String, CPath) - Constructor for exception net.netheos.pcsapi.exceptions.CFileNotFoundException
 
CFolder - Class in net.netheos.pcsapi.models
Represents a folder located in the cloud
CFolder(CPath) - Constructor for class net.netheos.pcsapi.models.CFolder
 
CFolder(CPath, Date, CMetadata) - Constructor for class net.netheos.pcsapi.models.CFolder
 
CFolderContent - Class in net.netheos.pcsapi.models
Contains the folder content.
CFolderContent(Map<CPath, CFile>) - Constructor for class net.netheos.pcsapi.models.CFolderContent
 
CHttpException - Exception in net.netheos.pcsapi.exceptions
Thrown when provider server answers non OK answers.
CHttpException(String, CResponse) - Constructor for exception net.netheos.pcsapi.exceptions.CHttpException
 
CInvalidFileTypeException - Exception in net.netheos.pcsapi.exceptions
Thrown when performing an operation on a folder when a blob is expected, or when operating on a blob and a folder is expected.
CInvalidFileTypeException(String, CPath, boolean) - Constructor for exception net.netheos.pcsapi.exceptions.CInvalidFileTypeException
 
CInvalidFileTypeException(CPath, boolean) - Constructor for exception net.netheos.pcsapi.exceptions.CInvalidFileTypeException
 
CLIENT_ID - Static variable in class net.netheos.pcsapi.oauth.OAuth2
 
CLIENT_SECRET - Static variable in class net.netheos.pcsapi.oauth.OAuth2
 
close() - Method in class net.netheos.pcsapi.bytesio.MemoryByteSinkStream
 
close() - Method in class net.netheos.pcsapi.request.CResponse
 
close() - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Close the provider.
close() - Method in class net.netheos.pcsapi.storage.StorageProvider
 
closeQuietly(Closeable) - Static method in class net.netheos.pcsapi.utils.PcsUtils
 
CloudMe - Class in net.netheos.pcsapi.providers.cloudme
Class that implements the CloudMe storage provider.
CloudMe(StorageBuilder) - Constructor for class net.netheos.pcsapi.providers.cloudme.CloudMe
 
CloudMeMultipartEntity - Class in net.netheos.pcsapi.request
CloudMe does not support charset in content-type multi part upload.
CloudMeMultipartEntity() - Constructor for class net.netheos.pcsapi.request.CloudMeMultipartEntity
 
CMBlob - Class in net.netheos.pcsapi.providers.cloudme
This class represents a CloudMe File It is characterized by an id and the id of its folder
CMBlob(CMFolder, String, String, long, Date, String) - Constructor for class net.netheos.pcsapi.providers.cloudme.CMBlob
 
CMetadata - Class in net.netheos.pcsapi.models
 
CMetadata(Map<String, String>) - Constructor for class net.netheos.pcsapi.models.CMetadata
 
CMetadata() - Constructor for class net.netheos.pcsapi.models.CMetadata
 
CMFolder - Class in net.netheos.pcsapi.providers.cloudme
This class represents a CloudMe folder It is characterized by an id.
CMFolder(String, String) - Constructor for class net.netheos.pcsapi.providers.cloudme.CMFolder
 
CODE - Static variable in class net.netheos.pcsapi.oauth.OAuth2
 
consumeContent() - Method in class net.netheos.pcsapi.request.ByteSourceBody
 
consumeContent() - Method in class net.netheos.pcsapi.request.ByteSourceEntity
 
contains(String) - Method in class net.netheos.pcsapi.request.Headers
Indicates if a header exists with the given name
containsPath(CPath) - Method in class net.netheos.pcsapi.models.CFolderContent
Indicates if the folder contains the given path
CPath - Class in net.netheos.pcsapi.models
Immutable remote file pathname, with methods for easier handling.
CPath(String) - Constructor for class net.netheos.pcsapi.models.CPath
 
CQuota - Class in net.netheos.pcsapi.models
A simple class containing used/available storage information.
CQuota(long, long) - Constructor for class net.netheos.pcsapi.models.CQuota
 
createFolder(CPath) - Method in class net.netheos.pcsapi.providers.cloudme.CloudMe
 
createFolder(CPath) - Method in class net.netheos.pcsapi.providers.dropbox.Dropbox
 
createFolder(CPath) - Method in class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
createFolder(CPath) - Method in class net.netheos.pcsapi.providers.hubic.Hubic
 
createFolder(CPath) - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Create a folder at given path, with intermediate folders if needed.
createFromJson(String) - Static method in class net.netheos.pcsapi.credentials.Credentials
Create a Credential object from a JSON value.
Credentials - Class in net.netheos.pcsapi.credentials
This class contains credentials token and user/password
Credentials() - Constructor for class net.netheos.pcsapi.credentials.Credentials
 
CResponse - Class in net.netheos.pcsapi.request
Represents a response returned by an HTTP client.
CResponse(HttpUriRequest, HttpResponse) - Constructor for class net.netheos.pcsapi.request.CResponse
 
CRetriableException - Exception in net.netheos.pcsapi.exceptions
Thrown by RequestInvoker validation method, when request has failed but should be retried.
CRetriableException(Throwable) - Constructor for exception net.netheos.pcsapi.exceptions.CRetriableException
 
CRetriableException(Throwable, long) - Constructor for exception net.netheos.pcsapi.exceptions.CRetriableException
Build a CRetriableException and tell engine to wait the specified amount of time.
CStorageException - Exception in net.netheos.pcsapi.exceptions
Base class for all cloud storage errors.
CStorageException(String) - Constructor for exception net.netheos.pcsapi.exceptions.CStorageException
 
CStorageException(String, Throwable) - Constructor for exception net.netheos.pcsapi.exceptions.CStorageException
 
CUploadRequest - Class in net.netheos.pcsapi.models
Class that parametrizes an upload request: path + bytes source
CUploadRequest(CPath, ByteSource) - Constructor for class net.netheos.pcsapi.models.CUploadRequest
 

D

delete(CPath) - Method in class net.netheos.pcsapi.providers.cloudme.CloudMe
 
delete(CPath) - Method in class net.netheos.pcsapi.providers.dropbox.Dropbox
 
delete(CPath) - Method in class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
delete(CPath) - Method in class net.netheos.pcsapi.providers.hubic.Hubic
 
delete(CPath) - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Deletes blob, or recursively delete folder at given path.
download(CDownloadRequest) - Method in class net.netheos.pcsapi.providers.cloudme.CloudMe
 
download(CDownloadRequest) - Method in class net.netheos.pcsapi.providers.dropbox.Dropbox
 
download(CDownloadRequest) - Method in class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
download(CDownloadRequest) - Method in class net.netheos.pcsapi.providers.hubic.Hubic
 
download(CDownloadRequest) - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Downloads a blob from provider to a byte sink, as defined by the download_request object.
downloadDataToSink(CResponse, ByteSink) - Static method in class net.netheos.pcsapi.utils.PcsUtils
Server has answered OK with a file to download as stream.
Dropbox - Class in net.netheos.pcsapi.providers.dropbox
 
Dropbox(StorageBuilder) - Constructor for class net.netheos.pcsapi.providers.dropbox.Dropbox
 

E

encodedPath(String) - Method in class net.netheos.pcsapi.utils.URIBuilder
Add an already escaped encodedPath part.
encodePath(String) - Static method in class net.netheos.pcsapi.utils.URIUtil
Encode a path as required by the URL specification ( RFC 1738).
ensureContentTypeIsJson(CResponse, boolean) - Static method in class net.netheos.pcsapi.utils.PcsUtils
Extract content type from response headers, and ensure it is application/json or text/javascript.
ensureContentTypeIsXml(CResponse, boolean) - Static method in class net.netheos.pcsapi.utils.PcsUtils
Extract content type from response headers, and ensure it is application/xml.
equals(Object) - Method in class net.netheos.pcsapi.credentials.OAuth2Credentials
 
equals(Object) - Method in class net.netheos.pcsapi.models.CFolderContent
 
equals(Object) - Method in class net.netheos.pcsapi.models.CMetadata
 
equals(Object) - Method in class net.netheos.pcsapi.models.CPath
 
escape(String) - Static method in class net.netheos.pcsapi.utils.XmlUtils
Escapes the characters in a String.
execute(HttpUriRequest) - Method in class net.netheos.pcsapi.oauth.OAuth2SessionManager
 
execute(HttpUriRequest) - Method in class net.netheos.pcsapi.oauth.PasswordSessionManager
 
execute(HttpUriRequest) - Method in interface net.netheos.pcsapi.request.HttpExecutor
Execute the request
execute(HttpUriRequest) - Method in class net.netheos.pcsapi.request.SimpleHttpExecutor
 

F

FileByteSink - Class in net.netheos.pcsapi.bytesio
ByteSink where bytes are written to a file
FileByteSink(File) - Constructor for class net.netheos.pcsapi.bytesio.FileByteSink
 
FileByteSink(File, boolean, boolean, boolean) - Constructor for class net.netheos.pcsapi.bytesio.FileByteSink
 
FileByteSource - Class in net.netheos.pcsapi.bytesio
Implementation of ByteSource with file
FileByteSource(String) - Constructor for class net.netheos.pcsapi.bytesio.FileByteSource
 
FileByteSource(File) - Constructor for class net.netheos.pcsapi.bytesio.FileByteSource
 
forProvider(String) - Static method in class net.netheos.pcsapi.storage.StorageFacade
Get a StorageBuilder by its name

G

generateContentType(String, Charset) - Method in class net.netheos.pcsapi.request.CloudMeMultipartEntity
 
generateContentType(String, Charset) - Method in class net.netheos.pcsapi.request.MultipartRelatedEntity
 
get(String) - Method in class net.netheos.pcsapi.credentials.AppInfoFileRepository
Retrieves application information for the specified provider.
get(String, String) - Method in class net.netheos.pcsapi.credentials.AppInfoFileRepository
 
get(String) - Method in interface net.netheos.pcsapi.credentials.AppInfoRepository
Retrieves application information for the specified provider.
get(String, String) - Method in interface net.netheos.pcsapi.credentials.AppInfoRepository
Retrieves application information for the specified provider and optional application.
get(AppInfo, String) - Method in class net.netheos.pcsapi.credentials.UserCredentialsFileRepository
 
get(AppInfo, String) - Method in interface net.netheos.pcsapi.credentials.UserCredentialsRepository
Retrieves user credentials for the given application and optional user id.
get(String) - Method in class net.netheos.pcsapi.models.CMetadata
Get a metadata value
getAccessToken() - Method in class net.netheos.pcsapi.credentials.OAuth2Credentials
Get the OAuth access token
getAppId() - Method in class net.netheos.pcsapi.credentials.OAuth2AppInfo
 
getAppInfo() - Method in class net.netheos.pcsapi.credentials.UserCredentials
Get the application informations
getAppInfo() - Method in class net.netheos.pcsapi.storage.StorageBuilder
 
getAppName() - Method in interface net.netheos.pcsapi.credentials.AppInfo
Get the application name
getAppName() - Method in class net.netheos.pcsapi.credentials.OAuth2AppInfo
 
getAppName() - Method in class net.netheos.pcsapi.credentials.PasswordAppInfo
 
getAppSecret() - Method in class net.netheos.pcsapi.credentials.OAuth2AppInfo
 
getAuthorizeBrowserUrl() - Method in class net.netheos.pcsapi.oauth.OAuth2Bootstrapper
Builds the authorize URI that must be loaded in a browser to allow the application to use the API
getBaseName() - Method in class net.netheos.pcsapi.models.CPath
Return last element of this path as string (empty string if this object is root path)
getBytesAllowed() - Method in class net.netheos.pcsapi.models.CQuota
Get the maximum allowed bytes in the filesystem
getByteSink() - Method in class net.netheos.pcsapi.models.CDownloadRequest
If no progress listener has been set, return the byte sink defined in constructor, otherwise decorate it.
getByteSource() - Method in class net.netheos.pcsapi.models.CUploadRequest
If no progress listener has been set, return the byte source set in constructor, otherwise decorate it for progress.
getBytesUsed() - Method in class net.netheos.pcsapi.models.CQuota
Get the bytes used in the filesystem
getCharset() - Method in class net.netheos.pcsapi.request.ByteSourceBody
 
getCharset() - Method in class net.netheos.pcsapi.request.JSONBody
 
getChildByName(String) - Method in class net.netheos.pcsapi.providers.cloudme.CMFolder
Finds a child according to its name
getContent() - Method in class net.netheos.pcsapi.request.ByteSourceBody
 
getContent() - Method in class net.netheos.pcsapi.request.ByteSourceEntity
 
getContent() - Method in class net.netheos.pcsapi.request.JSONEntity
 
getContentLength() - Method in class net.netheos.pcsapi.request.ByteSourceBody
 
getContentLength() - Method in class net.netheos.pcsapi.request.ByteSourceEntity
 
getContentLength() - Method in class net.netheos.pcsapi.request.CResponse
 
getContentLength() - Method in class net.netheos.pcsapi.request.JSONBody
 
getContentLength() - Method in class net.netheos.pcsapi.request.JSONEntity
 
getContentType() - Method in class net.netheos.pcsapi.models.CBlob
Get the file content type
getContentType() - Method in class net.netheos.pcsapi.models.CUploadRequest
Get the file content type
getContentType() - Method in class net.netheos.pcsapi.request.CResponse
 
getCPath() - Method in class net.netheos.pcsapi.providers.cloudme.CMFolder
Gets the CPath corresponding to this folder
getCredentials() - Method in class net.netheos.pcsapi.credentials.UserCredentials
Get the user credentials
getCurrent() - Method in class net.netheos.pcsapi.bytesio.StdoutProgressListener
 
getCurrentBytes() - Method in class net.netheos.pcsapi.bytesio.ProgressByteSinkStream
Count the read bytes
getData() - Method in class net.netheos.pcsapi.bytesio.MemoryByteSink
Get the data stored in the sink
getDelay() - Method in exception net.netheos.pcsapi.exceptions.CRetriableException
Get the delay before retrying the request
getDomFromString(String) - Static method in class net.netheos.pcsapi.utils.XmlUtils
Parses a string and build a DOM
getFile(CPath) - Method in class net.netheos.pcsapi.models.CFolderContent
Get a file by its path
getFile(CPath) - Method in class net.netheos.pcsapi.providers.cloudme.CloudMe
 
getFile(CPath) - Method in class net.netheos.pcsapi.providers.dropbox.Dropbox
 
getFile(CPath) - Method in class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
getFile(CPath) - Method in class net.netheos.pcsapi.providers.hubic.Hubic
 
getFile(CPath) - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Return detailed file information at given path, or None if no object exists at this path
getFilename() - Method in class net.netheos.pcsapi.request.ByteSourceBody
 
getFilename() - Method in class net.netheos.pcsapi.request.JSONBody
 
getFiles() - Method in class net.netheos.pcsapi.models.CFolderContent
Get the files stored in the folder
getFolder(CPath) - Method in class net.netheos.pcsapi.providers.cloudme.CMFolder
Gets the CloudMe folder corresponding to a given CPath Returns null if the folder does not exist
getHeaders() - Method in class net.netheos.pcsapi.request.CResponse
Get the response headers
getHeaderValue(String) - Method in class net.netheos.pcsapi.request.Headers
Get a header value
getHttpClient() - Method in class net.netheos.pcsapi.storage.StorageBuilder
 
getHttpHeaders() - Method in class net.netheos.pcsapi.models.CDownloadRequest
Get the HTTP headers to be used for download request.
getId() - Method in class net.netheos.pcsapi.providers.cloudme.CMBlob
 
getId() - Method in class net.netheos.pcsapi.providers.cloudme.CMFolder
 
getMap() - Method in class net.netheos.pcsapi.models.CMetadata
 
getMetadata() - Method in class net.netheos.pcsapi.models.CFile
Get the file metadata
getMetadata() - Method in class net.netheos.pcsapi.models.CUploadRequest
Get the metadata setted to the file to upload
getMethod() - Method in class net.netheos.pcsapi.request.CResponse
 
getModificationDate() - Method in class net.netheos.pcsapi.models.CFile
Get the last modification date
getName() - Method in class net.netheos.pcsapi.providers.cloudme.CMBlob
 
getName() - Method in class net.netheos.pcsapi.providers.cloudme.CMFolder
 
getParent() - Method in class net.netheos.pcsapi.models.CPath
 
getPassword() - Method in class net.netheos.pcsapi.credentials.PasswordCredentials
Get the password
getPath() - Method in exception net.netheos.pcsapi.exceptions.CFileNotFoundException
Get the file that has not been found
getPath() - Method in exception net.netheos.pcsapi.exceptions.CInvalidFileTypeException
 
getPath() - Method in class net.netheos.pcsapi.models.CDownloadRequest
Get the file path to download
getPath() - Method in class net.netheos.pcsapi.models.CFile
Get the file path
getPath() - Method in class net.netheos.pcsapi.models.CUploadRequest
Get the destination file path where the data will be uploaded
getPath() - Method in class net.netheos.pcsapi.providers.cloudme.CMBlob
Gets CPath of a CloudMe Blob which is its parent folder's CPath + its base name
getPath() - Method in class net.netheos.pcsapi.request.HttpRequestor
 
getPath() - Method in interface net.netheos.pcsapi.request.Requestor
Get the file path used in the request
getPathName() - Method in class net.netheos.pcsapi.models.CPath
Get the path name
getPaths() - Method in class net.netheos.pcsapi.models.CFolderContent
Get the files paths stored in the folder
getPercentUsed() - Method in class net.netheos.pcsapi.models.CQuota
Get the percent used in the filesystem
getProviderName() - Method in interface net.netheos.pcsapi.credentials.AppInfo
Get the storage provider name
getProviderName() - Method in class net.netheos.pcsapi.credentials.OAuth2AppInfo
 
getProviderName() - Method in class net.netheos.pcsapi.credentials.PasswordAppInfo
 
getProviderName() - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Get the provider name
getProviderName() - Method in class net.netheos.pcsapi.storage.StorageProvider
 
getQueryParameter(URI, String) - Static method in class net.netheos.pcsapi.utils.URIUtil
Retrieves a query param in a URL according to a key.
getQuota() - Method in class net.netheos.pcsapi.providers.cloudme.CloudMe
 
getQuota() - Method in class net.netheos.pcsapi.providers.dropbox.Dropbox
 
getQuota() - Method in class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
getQuota() - Method in class net.netheos.pcsapi.providers.hubic.Hubic
 
getQuota() - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Returns a CQuota object
getReason() - Method in class net.netheos.pcsapi.request.CResponse
 
getRedirectUrl() - Method in class net.netheos.pcsapi.credentials.OAuth2AppInfo
 
getRefreshToken() - Method in class net.netheos.pcsapi.credentials.OAuth2Credentials
Get the refresh token (used to renew the access token)
getRegisteredProviders() - Static method in class net.netheos.pcsapi.storage.StorageFacade
Get the registered StorageProvider
getRequest() - Method in class net.netheos.pcsapi.request.HttpRequestor
Get the http request used in this executor
getRequestMethod() - Method in exception net.netheos.pcsapi.exceptions.CHttpException
Get the request method
getRequestUri() - Method in exception net.netheos.pcsapi.exceptions.CHttpException
Get the requested URI
getRetryStrategy() - Method in class net.netheos.pcsapi.storage.StorageBuilder
 
getScope() - Method in class net.netheos.pcsapi.credentials.OAuth2AppInfo
 
getSessionManager() - Method in class net.netheos.pcsapi.storage.StorageProvider
 
getStatus() - Method in exception net.netheos.pcsapi.exceptions.CHttpException
Get the HTTP status code
getStatus() - Method in class net.netheos.pcsapi.request.CResponse
 
getTokenType() - Method in class net.netheos.pcsapi.credentials.OAuth2Credentials
Get the access token type
getTotal() - Method in class net.netheos.pcsapi.bytesio.StdoutProgressListener
 
getTransferEncoding() - Method in class net.netheos.pcsapi.request.ByteSourceBody
 
getTransferEncoding() - Method in class net.netheos.pcsapi.request.JSONBody
 
getUri() - Method in class net.netheos.pcsapi.request.CResponse
 
getUrlEncoded() - Method in class net.netheos.pcsapi.models.CPath
URL encode the path
getUserCredentials(String) - Method in class net.netheos.pcsapi.oauth.OAuth2Bootstrapper
Gets users Credentials
getUserCredentials() - Method in class net.netheos.pcsapi.storage.StorageBuilder
 
getUserCredentialsRepo() - Method in class net.netheos.pcsapi.storage.StorageBuilder
 
getUserId() - Method in class net.netheos.pcsapi.credentials.UserCredentials
Get the user identifier
getUserId() - Method in class net.netheos.pcsapi.providers.cloudme.CloudMe
 
getUserId() - Method in class net.netheos.pcsapi.providers.dropbox.Dropbox
 
getUserId() - Method in class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
getUserId() - Method in class net.netheos.pcsapi.providers.hubic.Hubic
 
getUserId() - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Return user identifier (login in case of login/password, or email in case of OAuth
GoogleDrive - Class in net.netheos.pcsapi.providers.googledrive
Implements Google Drive storage provider.
GoogleDrive(StorageBuilder) - Constructor for class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
GRANT_TYPE - Static variable in class net.netheos.pcsapi.oauth.OAuth2
 

H

hasExpired() - Method in class net.netheos.pcsapi.credentials.OAuth2Credentials
Indicates if the access token has expired
hashCode() - Method in class net.netheos.pcsapi.credentials.OAuth2Credentials
 
hashCode() - Method in class net.netheos.pcsapi.models.CFolderContent
 
hashCode() - Method in class net.netheos.pcsapi.models.CMetadata
 
hashCode() - Method in class net.netheos.pcsapi.models.CPath
 
Headers - Class in net.netheos.pcsapi.request
Centralizes the whole headers on a request or in a http response.
Headers() - Constructor for class net.netheos.pcsapi.request.Headers
 
HttpExecutor - Interface in net.netheos.pcsapi.request
 
HttpRequestor - Class in net.netheos.pcsapi.request
A simple requestor which execute a http request.
HttpRequestor(HttpUriRequest, CPath, HttpExecutor) - Constructor for class net.netheos.pcsapi.request.HttpRequestor
Create a new requestor
Hubic - Class in net.netheos.pcsapi.providers.hubic
Implements Hubic storage provider
Hubic(StorageBuilder) - Constructor for class net.netheos.pcsapi.providers.hubic.Hubic
 

I

invokeRetry(Callable<T>) - Method in class net.netheos.pcsapi.models.RetryStrategy
Main method to be called by user of this class : calls Callable.call() until success, non retriable error or max trials has been reached.
isAborted() - Method in class net.netheos.pcsapi.bytesio.ByteSinkStream
Indicates if the sink has been aborted
isAborted() - Method in class net.netheos.pcsapi.bytesio.MemoryByteSinkStream
 
isAborted() - Method in class net.netheos.pcsapi.bytesio.ProgressByteSinkStream
 
isAborted() - Method in class net.netheos.pcsapi.bytesio.StdoutProgressListener
Indicates if the progress has been aborted
isBlob() - Method in class net.netheos.pcsapi.models.CFile
Indicates if the file is a blob
isBlobExpected() - Method in exception net.netheos.pcsapi.exceptions.CInvalidFileTypeException
 
isEmpty() - Method in class net.netheos.pcsapi.models.CFolderContent
Indicates if the folder is empty
isEmpty() - Method in class net.netheos.pcsapi.request.Headers
Indicates if no header sets
isFolder() - Method in class net.netheos.pcsapi.models.CFile
Indicates if the file is a folder
isRepeatable() - Method in class net.netheos.pcsapi.request.ByteSourceEntity
 
isRepeatable() - Method in class net.netheos.pcsapi.request.JSONEntity
 
isRoot() - Method in class net.netheos.pcsapi.models.CPath
Indicates if this path is the root in the filesystem
isStreaming() - Method in class net.netheos.pcsapi.request.ByteSourceEntity
 
isStreaming() - Method in class net.netheos.pcsapi.request.JSONEntity
 
IStorageProvider - Interface in net.netheos.pcsapi.storage
Reference interface for storage providers.
iterator() - Method in class net.netheos.pcsapi.models.CFolderContent
 
iterator() - Method in class net.netheos.pcsapi.providers.cloudme.CMFolder
 
iterator() - Method in class net.netheos.pcsapi.request.Headers
 

J

JSONBody - Class in net.netheos.pcsapi.request
 
JSONBody(JSONObject, String) - Constructor for class net.netheos.pcsapi.request.JSONBody
 
JSONBody(JSONArray, String) - Constructor for class net.netheos.pcsapi.request.JSONBody
 
JSONEntity - Class in net.netheos.pcsapi.request
 
JSONEntity(JSONObject) - Constructor for class net.netheos.pcsapi.request.JSONEntity
 
JSONEntity(JSONArray) - Constructor for class net.netheos.pcsapi.request.JSONEntity
 

L

length() - Method in interface net.netheos.pcsapi.bytesio.ByteSource
Return length of stream (must be known before consuming stream)
length() - Method in class net.netheos.pcsapi.bytesio.FileByteSource
 
length() - Method in class net.netheos.pcsapi.bytesio.MemoryByteSource
 
length() - Method in class net.netheos.pcsapi.bytesio.ProgressByteSource
 
length() - Method in class net.netheos.pcsapi.bytesio.RangeByteSource
 
length() - Method in class net.netheos.pcsapi.models.CBlob
Get the file length
listFolder(CPath) - Method in class net.netheos.pcsapi.providers.cloudme.CloudMe
There are 3 main steps to list a folder: - generate the tree view of CloudMe storage - list all the subfolders - list all the blobs
listFolder(CFolder) - Method in class net.netheos.pcsapi.providers.cloudme.CloudMe
 
listFolder(CPath) - Method in class net.netheos.pcsapi.providers.dropbox.Dropbox
 
listFolder(CFolder) - Method in class net.netheos.pcsapi.providers.dropbox.Dropbox
 
listFolder(CPath) - Method in class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
listFolder(CFolder) - Method in class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
listFolder(CPath) - Method in class net.netheos.pcsapi.providers.hubic.Hubic
 
listFolder(CFolder) - Method in class net.netheos.pcsapi.providers.hubic.Hubic
 
listFolder(CPath) - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Return a map of files present in given CPath. keys of map are CPath objects, values are CFile objects (CFolder or CBlob).
listFolder(CFolder) - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Return a map of files present in given CFolder. keys of map are CPath objects, values are CFile objects (CFolder or CBlob).
listRootFolder() - Method in class net.netheos.pcsapi.providers.cloudme.CloudMe
 
listRootFolder() - Method in class net.netheos.pcsapi.providers.dropbox.Dropbox
 
listRootFolder() - Method in class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
listRootFolder() - Method in class net.netheos.pcsapi.providers.hubic.Hubic
 
listRootFolder() - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Equivalent to IStorageProvider.listFolder(net.netheos.pcsapi.models.CPath) with "/"

M

MemoryByteSink - Class in net.netheos.pcsapi.bytesio
Implementation of ByteSource in memory
MemoryByteSink() - Constructor for class net.netheos.pcsapi.bytesio.MemoryByteSink
 
MemoryByteSinkStream - Class in net.netheos.pcsapi.bytesio
Implements the in-memory version of a byte sink stream
MemoryByteSinkStream(MemoryByteSink, ByteArrayOutputStream) - Constructor for class net.netheos.pcsapi.bytesio.MemoryByteSinkStream
 
MemoryByteSource - Class in net.netheos.pcsapi.bytesio
Implementation of an in-memory ByteSource
MemoryByteSource(byte[]) - Constructor for class net.netheos.pcsapi.bytesio.MemoryByteSource
 
metadata - Variable in class net.netheos.pcsapi.models.CFile
 
modificationDate - Variable in class net.netheos.pcsapi.models.CFile
 
MultipartRelatedEntity - Class in net.netheos.pcsapi.request
 
MultipartRelatedEntity() - Constructor for class net.netheos.pcsapi.request.MultipartRelatedEntity
 

N

net.netheos.pcsapi.bytesio - package net.netheos.pcsapi.bytesio
 
net.netheos.pcsapi.credentials - package net.netheos.pcsapi.credentials
 
net.netheos.pcsapi.exceptions - package net.netheos.pcsapi.exceptions
 
net.netheos.pcsapi.models - package net.netheos.pcsapi.models
 
net.netheos.pcsapi.oauth - package net.netheos.pcsapi.oauth
 
net.netheos.pcsapi.providers.cloudme - package net.netheos.pcsapi.providers.cloudme
 
net.netheos.pcsapi.providers.dropbox - package net.netheos.pcsapi.providers.dropbox
 
net.netheos.pcsapi.providers.googledrive - package net.netheos.pcsapi.providers.googledrive
 
net.netheos.pcsapi.providers.hubic - package net.netheos.pcsapi.providers.hubic
 
net.netheos.pcsapi.request - package net.netheos.pcsapi.request
 
net.netheos.pcsapi.storage - package net.netheos.pcsapi.storage
 
net.netheos.pcsapi.utils - package net.netheos.pcsapi.utils
 

O

OAuth2 - Class in net.netheos.pcsapi.oauth
Common keys used by OAuth2 protocol
OAuth2() - Constructor for class net.netheos.pcsapi.oauth.OAuth2
 
OAuth2AppInfo - Class in net.netheos.pcsapi.credentials
This class holds application information for OAuth2 providers (web application workflow).
OAuth2AppInfo(String, String, String, String, List<String>, String) - Constructor for class net.netheos.pcsapi.credentials.OAuth2AppInfo
Constructor for OAuth clients
OAuth2Bootstrapper - Class in net.netheos.pcsapi.oauth
Utility class to retrieve initial token and populate a UserCredentialsRepository.
OAuth2Bootstrapper(IStorageProvider) - Constructor for class net.netheos.pcsapi.oauth.OAuth2Bootstrapper
 
OAuth2Credentials - Class in net.netheos.pcsapi.credentials
Credentials contains the OAuth informations.
OAuth2SessionManager - Class in net.netheos.pcsapi.oauth
OAuth2 session manager (used by most providers).
OAuth2SessionManager(String, String, String, boolean, Character, StorageBuilder) - Constructor for class net.netheos.pcsapi.oauth.OAuth2SessionManager
 
openStream() - Method in interface net.netheos.pcsapi.bytesio.ByteSink
Returns a ByteSinkStream object for writing data, to be closed by caller.
openStream() - Method in interface net.netheos.pcsapi.bytesio.ByteSource
Returns a ByteSourceStream object for reading data, to be closed by caller
openStream() - Method in class net.netheos.pcsapi.bytesio.FileByteSink
 
openStream() - Method in class net.netheos.pcsapi.bytesio.FileByteSource
 
openStream() - Method in class net.netheos.pcsapi.bytesio.MemoryByteSink
 
openStream() - Method in class net.netheos.pcsapi.bytesio.MemoryByteSource
 
openStream() - Method in class net.netheos.pcsapi.bytesio.ProgressByteSink
 
openStream() - Method in class net.netheos.pcsapi.bytesio.ProgressByteSource
 
openStream() - Method in class net.netheos.pcsapi.bytesio.RangeByteSource
 
openStream() - Method in class net.netheos.pcsapi.request.CResponse
Open a raw stream on the response body.

P

parseQueryParameters(String) - Static method in class net.netheos.pcsapi.utils.URIUtil
Parse a query param string into a map of parameters.
PasswordAppInfo - Class in net.netheos.pcsapi.credentials
Implementation for login/password authenticated users : in this case application name can be set to 'login'.
PasswordAppInfo(String, String) - Constructor for class net.netheos.pcsapi.credentials.PasswordAppInfo
Constructor for login/password clients
PasswordCredentials - Class in net.netheos.pcsapi.credentials
Credentials containing password information.
PasswordSessionManager - Class in net.netheos.pcsapi.oauth
Password session manager : handles basic and digest authentication.
PasswordSessionManager(StorageBuilder) - Constructor for class net.netheos.pcsapi.oauth.PasswordSessionManager
 
PcsUtils - Class in net.netheos.pcsapi.utils
Utility class for the project
progress(long) - Method in interface net.netheos.pcsapi.bytesio.ProgressListener
Called when observed lengthly operation has made some progress.
progress(long) - Method in class net.netheos.pcsapi.bytesio.StdoutProgressListener
 
ProgressByteSink - Class in net.netheos.pcsapi.bytesio
Byte Sink used to monitor progress in stream operations.
ProgressByteSink(ByteSink, ProgressListener) - Constructor for class net.netheos.pcsapi.bytesio.ProgressByteSink
 
ProgressByteSinkStream - Class in net.netheos.pcsapi.bytesio
Byte sink stream that reports progress in stream operations
ProgressByteSinkStream(ByteSinkStream, ProgressListener) - Constructor for class net.netheos.pcsapi.bytesio.ProgressByteSinkStream
 
ProgressByteSource - Class in net.netheos.pcsapi.bytesio
A byte source that notifies a ProgressListener ; data is read from underlying ByteSource.
ProgressByteSource(ByteSource, ProgressListener) - Constructor for class net.netheos.pcsapi.bytesio.ProgressByteSource
 
ProgressListener - Interface in net.netheos.pcsapi.bytesio
Object that listens a progress for instances for downloads and uploads
PROVIDER_NAME - Static variable in class net.netheos.pcsapi.providers.cloudme.CloudMe
 
PROVIDER_NAME - Static variable in class net.netheos.pcsapi.providers.dropbox.Dropbox
 
PROVIDER_NAME - Static variable in class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
PROVIDER_NAME - Static variable in class net.netheos.pcsapi.providers.hubic.Hubic
 
put(String, String) - Method in class net.netheos.pcsapi.models.CMetadata
Add a value in metadata

Q

queryParameters(Map<String, String>) - Method in class net.netheos.pcsapi.utils.URIBuilder
Set the query parameters

R

randomString(int) - Static method in class net.netheos.pcsapi.utils.PcsUtils
Generate a random String
randomString(char[], int) - Static method in class net.netheos.pcsapi.utils.PcsUtils
Generate a random String
RangeByteSource - Class in net.netheos.pcsapi.bytesio
A byte source view of a range of bytes from an underlying byte source.
RangeByteSource(ByteSource) - Constructor for class net.netheos.pcsapi.bytesio.RangeByteSource
 
RangeByteSource(ByteSource, long) - Constructor for class net.netheos.pcsapi.bytesio.RangeByteSource
 
RangeByteSource(ByteSource, long, long) - Constructor for class net.netheos.pcsapi.bytesio.RangeByteSource
 
REDIRECT_URI - Static variable in class net.netheos.pcsapi.oauth.OAuth2
 
REFRESH_TOKEN - Static variable in class net.netheos.pcsapi.oauth.OAuth2
 
refreshToken() - Method in class net.netheos.pcsapi.oauth.OAuth2SessionManager
Refreshes access token after expiration (before sending request) thanks to the refresh token.
registerProvider(String, Class<? extends StorageProvider>) - Static method in class net.netheos.pcsapi.storage.StorageFacade
Register a new StorageProvider
releaseHttpClient(HttpClient) - Static method in class net.netheos.pcsapi.utils.PcsUtils
 
removeHeader(String) - Method in class net.netheos.pcsapi.request.Headers
Remove a header from the list
RequestInvoker<T> - Class in net.netheos.pcsapi.request
Invokes http request and validates http server response.
RequestInvoker(Requestor<T>, ResponseValidator<T>) - Constructor for class net.netheos.pcsapi.request.RequestInvoker
 
requestor - Variable in class net.netheos.pcsapi.request.RequestInvoker
 
Requestor<T> - Interface in net.netheos.pcsapi.request
Represents an object that performs a request
RESPONSE_TYPE - Static variable in class net.netheos.pcsapi.oauth.OAuth2
 
ResponseValidator<T> - Interface in net.netheos.pcsapi.request
Represents an object that validates an HTTP response
RetryStrategy - Class in net.netheos.pcsapi.models
Manages retriable requests and sets retry strategy: number of attempts and delay between attempts.
RetryStrategy(int, long) - Constructor for class net.netheos.pcsapi.models.RetryStrategy
 
retryStrategy - Variable in class net.netheos.pcsapi.storage.StorageProvider
 
ROOT - Static variable in class net.netheos.pcsapi.models.CPath
 

S

save(UserCredentials<?>) - Method in class net.netheos.pcsapi.credentials.UserCredentialsFileRepository
 
save(UserCredentials<?>) - Method in interface net.netheos.pcsapi.credentials.UserCredentialsRepository
Adds new credentials and serializes
SCOPE - Static variable in class net.netheos.pcsapi.oauth.OAuth2
 
SessionManager<T extends Credentials> - Class in net.netheos.pcsapi.oauth
Binds HTTP requests with an authentication protocol
SessionManager(UserCredentials) - Constructor for class net.netheos.pcsapi.oauth.SessionManager
 
sessionManager - Variable in class net.netheos.pcsapi.storage.StorageProvider
 
setAppInfoRepository(AppInfoRepository, String) - Method in class net.netheos.pcsapi.storage.StorageBuilder
Set the app informations repository.
setContentType(String) - Method in class net.netheos.pcsapi.models.CUploadRequest
Set the content type
setExpectedLength(long) - Method in interface net.netheos.pcsapi.bytesio.ByteSink
Defines the number of bytes that are expected to be written to the stream.
setExpectedLength(long) - Method in class net.netheos.pcsapi.bytesio.FileByteSink
 
setExpectedLength(long) - Method in class net.netheos.pcsapi.bytesio.MemoryByteSink
 
setExpectedLength(long) - Method in class net.netheos.pcsapi.bytesio.ProgressByteSink
 
setForBootstrapping(boolean) - Method in class net.netheos.pcsapi.storage.StorageBuilder
OAuth bootstrap is not obvious : storage must be instantiated _without_ users credentials (for retrieving userId thanks to accessToken).
setHttpClient(HttpClient) - Method in class net.netheos.pcsapi.storage.StorageBuilder
Sets a HTTP client that extends org.apache.http.client.HttpClient.
setMetadata(CMetadata) - Method in class net.netheos.pcsapi.models.CFile
 
setMetadata(CMetadata) - Method in class net.netheos.pcsapi.models.CUploadRequest
Set the metadata to the file to upload
setModificationDate(Date) - Method in class net.netheos.pcsapi.models.CFile
 
setProgressListener(ProgressListener) - Method in class net.netheos.pcsapi.models.CDownloadRequest
Defines an object that will be notified during download.
setProgressListener(ProgressListener) - Method in class net.netheos.pcsapi.models.CUploadRequest
Defines an object that will be notified during upload.
setProgressTotal(long) - Method in interface net.netheos.pcsapi.bytesio.ProgressListener
 
setProgressTotal(long) - Method in class net.netheos.pcsapi.bytesio.StdoutProgressListener
 
setRange(long, long) - Method in class net.netheos.pcsapi.models.CDownloadRequest
Defines a range for partial content download.
setRetryStrategy(RetryStrategy) - Method in class net.netheos.pcsapi.storage.StorageBuilder
Sets the retry requests strategy to be used by storage.
setUserCredentialsRepository(UserCredentialsRepository, String) - Method in class net.netheos.pcsapi.storage.StorageBuilder
Set the user credentials repository.
setUserId(String) - Method in class net.netheos.pcsapi.credentials.UserCredentials
Set the user identifier
shortenUrl(URI) - Static method in class net.netheos.pcsapi.utils.PcsUtils
Removes query parameters from url (only for logging, as query parameters may contain sensible informations)
SimpleHttpExecutor - Class in net.netheos.pcsapi.request
Simple implementation of HttpExecutor which execute directly the given request.
SimpleHttpExecutor(HttpClient) - Constructor for class net.netheos.pcsapi.request.SimpleHttpExecutor
 
size() - Method in class net.netheos.pcsapi.models.CFolderContent
Get the files count in the folder
split() - Method in class net.netheos.pcsapi.models.CPath
Split this path : "a/b/c" --> "a", "b", "c".
STATE - Static variable in class net.netheos.pcsapi.oauth.OAuth2
 
StdoutProgressListener - Class in net.netheos.pcsapi.bytesio
A simple progress listener that outputs to stdout.
StdoutProgressListener() - Constructor for class net.netheos.pcsapi.bytesio.StdoutProgressListener
 
StorageBuilder - Class in net.netheos.pcsapi.storage
Class that facilitates the construction of a storage provider
StorageFacade - Class in net.netheos.pcsapi.storage
Registers and supplies all available storage providers
StorageProvider<T extends SessionManager> - Class in net.netheos.pcsapi.storage
 
StorageProvider(String, T, RetryStrategy, HttpClient) - Constructor for class net.netheos.pcsapi.storage.StorageProvider
 

T

toCBlob() - Method in class net.netheos.pcsapi.providers.cloudme.CMBlob
Converts a CloudMe Blob to a generic CBlob
toCFolder() - Method in class net.netheos.pcsapi.providers.cloudme.CMFolder
Converts a CloudMe folder to a generic CFolder
toJson() - Method in class net.netheos.pcsapi.credentials.OAuth2Credentials
 
toJson() - Method in class net.netheos.pcsapi.credentials.PasswordCredentials
 
toString() - Method in class net.netheos.pcsapi.bytesio.FileByteSink
 
toString() - Method in class net.netheos.pcsapi.bytesio.FileByteSource
 
toString() - Method in class net.netheos.pcsapi.bytesio.MemoryByteSource
 
toString() - Method in class net.netheos.pcsapi.bytesio.RangeByteSource
 
toString() - Method in class net.netheos.pcsapi.credentials.AppInfoFileRepository
 
toString() - Method in class net.netheos.pcsapi.credentials.OAuth2AppInfo
 
toString() - Method in class net.netheos.pcsapi.credentials.OAuth2Credentials
 
toString() - Method in class net.netheos.pcsapi.credentials.PasswordAppInfo
 
toString() - Method in class net.netheos.pcsapi.credentials.UserCredentials
 
toString() - Method in class net.netheos.pcsapi.credentials.UserCredentialsFileRepository
 
toString() - Method in exception net.netheos.pcsapi.exceptions.CHttpException
 
toString() - Method in class net.netheos.pcsapi.models.CBlob
 
toString() - Method in class net.netheos.pcsapi.models.CFile
 
toString() - Method in class net.netheos.pcsapi.models.CFolder
 
toString() - Method in class net.netheos.pcsapi.models.CFolderContent
 
toString() - Method in class net.netheos.pcsapi.models.CMetadata
 
toString() - Method in class net.netheos.pcsapi.models.CPath
 
toString() - Method in class net.netheos.pcsapi.models.CQuota
 
toString() - Method in class net.netheos.pcsapi.models.CUploadRequest
 
toString() - Method in class net.netheos.pcsapi.request.Headers
 
toString() - Method in class net.netheos.pcsapi.storage.StorageProvider
 
toString() - Method in class net.netheos.pcsapi.utils.URIBuilder
 

U

unescape(String) - Method in class net.netheos.pcsapi.utils.XmlUtils
Unescapes the entities in a String.
update(JSONObject) - Method in class net.netheos.pcsapi.credentials.OAuth2Credentials
Update the credentials from a JSON request response.
upload(CUploadRequest) - Method in class net.netheos.pcsapi.providers.cloudme.CloudMe
 
upload(CUploadRequest) - Method in class net.netheos.pcsapi.providers.dropbox.Dropbox
 
upload(CUploadRequest) - Method in class net.netheos.pcsapi.providers.googledrive.GoogleDrive
 
upload(CUploadRequest) - Method in class net.netheos.pcsapi.providers.hubic.Hubic
 
upload(CUploadRequest) - Method in interface net.netheos.pcsapi.storage.IStorageProvider
Uploads a byte source to provider, as defined by upload_request object.
URIBuilder - Class in net.netheos.pcsapi.utils
 
URIBuilder(URI) - Constructor for class net.netheos.pcsapi.utils.URIBuilder
 
URIUtil - Class in net.netheos.pcsapi.utils
This class contains methods forked from org.apache.catalina.servlets.DefaultServlet.
UserCredentials<T extends Credentials> - Class in net.netheos.pcsapi.credentials
This class holds user_id and credentials (password or OAuth2 tokens).
UserCredentials(AppInfo, String, T) - Constructor for class net.netheos.pcsapi.credentials.UserCredentials
 
userCredentials - Variable in class net.netheos.pcsapi.oauth.SessionManager
 
UserCredentialsFileRepository - Class in net.netheos.pcsapi.credentials
This class is a simple reader/writer of users credentials applications information from a plain text file with format: provider1.app_name_1.user_id1 = json_object provider1.app_name_1.user_id2 = json_object

Sample code only: data is NOT encrypted in file.

UserCredentialsFileRepository(File) - Constructor for class net.netheos.pcsapi.credentials.UserCredentialsFileRepository
 
UserCredentialsRepository - Interface in net.netheos.pcsapi.credentials
Represents a repository that contains user credentials (oauth2 or login/password).
UTF8 - Static variable in class net.netheos.pcsapi.utils.PcsUtils
 

V

validateResponse(T) - Method in class net.netheos.pcsapi.request.RequestInvoker
 
validateResponse(T, CPath) - Method in interface net.netheos.pcsapi.request.ResponseValidator
Validate the response
validator - Variable in class net.netheos.pcsapi.request.RequestInvoker
 

W

write(int) - Method in class net.netheos.pcsapi.bytesio.ProgressByteSinkStream
 
write(byte[]) - Method in class net.netheos.pcsapi.bytesio.ProgressByteSinkStream
 
write(byte[], int, int) - Method in class net.netheos.pcsapi.bytesio.ProgressByteSinkStream
 
writeTo(OutputStream) - Method in class net.netheos.pcsapi.request.ByteSourceBody
 
writeTo(OutputStream) - Method in class net.netheos.pcsapi.request.ByteSourceEntity
 
writeTo(OutputStream) - Method in class net.netheos.pcsapi.request.JSONBody
 
writeTo(OutputStream) - Method in class net.netheos.pcsapi.request.JSONEntity
 

X

XmlUtils - Class in net.netheos.pcsapi.utils
Utils class for escaping xml strings
XmlUtils() - Constructor for class net.netheos.pcsapi.utils.XmlUtils
 

A B C D E F G H I J L M N O P Q R S T U V W X

Copyright © 2014. All Rights Reserved.