Skip navigation links
A C D F G H I L M O R S T U 

A

addFilePart(String, File) - Method in class org.gcube.common.homelibrary.client.util.MultipartUtility
Adds a upload file section to the request
addFormField(String, String) - Method in class org.gcube.common.homelibrary.client.util.MultipartUtility
Adds a form field to the request
addHeaderField(String, String) - Method in class org.gcube.common.homelibrary.client.util.MultipartUtility
Adds a header field to the request.

C

Config - Class in org.gcube.common.homelibrary.client.util
 
Config() - Constructor for class org.gcube.common.homelibrary.client.util.Config
 
createDirectory(String, String, String) - Method in class org.gcube.common.homelibrary.client.FTPClient
This method creates a new remote directory in the current working one.
createFolder(String, String, String) - Static method in class org.gcube.common.homelibrary.client.servlet.Servlets
Create a folder

D

DEFAULT_IMAGE - Static variable in class org.gcube.common.homelibrary.client.util.Config
 
delete(String) - Method in class org.gcube.common.homelibrary.client.FTPClient
This method deletes a remote directory.
delete(String) - Static method in class org.gcube.common.homelibrary.client.servlet.Servlets
Delete files or folder

F

finish() - Method in class org.gcube.common.homelibrary.client.util.MultipartUtility
Completes the request and receives response from the server.
FTPClient - Class in org.gcube.common.homelibrary.client
 
FTPClient() - Constructor for class org.gcube.common.homelibrary.client.FTPClient
 
FTPFile - Class in org.gcube.common.homelibrary.client
 
FTPFile(String, Boolean) - Constructor for class org.gcube.common.homelibrary.client.FTPFile
 

G

GCUBE_SCOPE - Static variable in class org.gcube.common.homelibrary.client.util.TokenUtility
 
GCUBE_TOKEN - Static variable in class org.gcube.common.homelibrary.client.util.TokenUtility
 
getName() - Method in class org.gcube.common.homelibrary.client.FTPFile
This methods returs the name of the current file or folder
getPath() - Method in class org.gcube.common.homelibrary.client.FTPFile
Get folder path
getRootPath() - Method in class org.gcube.common.homelibrary.client.FTPClient
This method asks and returns the current working directory.

H

HTTP_URL_REPOSITORY - Static variable in class org.gcube.common.homelibrary.client.util.Config
 

I

isFolder() - Method in class org.gcube.common.homelibrary.client.FTPFile
This methods returs true if the current file is a folder

L

list(String) - Method in class org.gcube.common.homelibrary.client.FTPClient
This method lists the entries of the current working directory
listFolder(String) - Static method in class org.gcube.common.homelibrary.client.servlet.Servlets
List content of a folder

M

MultipartUtility - Class in org.gcube.common.homelibrary.client.util
This utility class provides an abstraction layer for sending multipart HTTP POST requests to a web server.
MultipartUtility(String, String) - Constructor for class org.gcube.common.homelibrary.client.util.MultipartUtility
This constructor initializes a new HTTP POST request with content type is set to multipart/form-data

O

org.gcube.common.homelibrary.client - package org.gcube.common.homelibrary.client
 
org.gcube.common.homelibrary.client.servlet - package org.gcube.common.homelibrary.client.servlet
 
org.gcube.common.homelibrary.client.util - package org.gcube.common.homelibrary.client.util
 

R

ROOT_PATH - Static variable in class org.gcube.common.homelibrary.client.util.Config
 

S

Servlets - Class in org.gcube.common.homelibrary.client.servlet
 
Servlets() - Constructor for class org.gcube.common.homelibrary.client.servlet.Servlets
 
setHeader(HttpURLConnection) - Static method in class org.gcube.common.homelibrary.client.util.TokenUtility
 
setHeader(MultipartUtility) - Static method in class org.gcube.common.homelibrary.client.util.TokenUtility
 

T

test() - Method in class org.gcube.common.homelibrary.client.FTPClient
Run tests
TOKEN - Static variable in class org.gcube.common.homelibrary.client.util.Config
 
TokenUtility - Class in org.gcube.common.homelibrary.client.util
 
TokenUtility() - Constructor for class org.gcube.common.homelibrary.client.util.TokenUtility
 

U

upload(byte[], String, String, String) - Method in class org.gcube.common.homelibrary.client.FTPClient
This method uploads a byte[] to the remote server
upload(byte[], String, String, String, String, long) - Method in class org.gcube.common.homelibrary.client.FTPClient
This method uploads a byte[] to the remote server with mimetype and size
uploadFile(byte[], String, String, String, String, long) - Static method in class org.gcube.common.homelibrary.client.servlet.Servlets
Save a file
URL_REPOSITORY - Static variable in class org.gcube.common.homelibrary.client.util.Config
 
A C D F G H I L M O R S T U 
Skip navigation links

Copyright © 2017. All Rights Reserved.