프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BASE_URL | String | ||
CREATE_GALLERY_URL | |||
GET_ITEMS_URL | String | ||
MY_GALLERIES_URL | |||
PAGE_BASE_URL | String | ||
PAGE_COOKIE | String | ||
SAVE_GALLERY_URL | |||
SIGN_IN_URL | |||
UPLOAD_ITEM_URL | |||
USER_AGENT | String |
메소드 | 설명 | |
---|---|---|
CreateGallery ( String cookieHeader ) : void |
Creates an empty new gallery.
|
|
GetItems ( String cookieHeader, String galleryReaderId ) : void |
Retrieve all items in a gallery, along with some other info (url and title).
|
|
MinusApi ( String apiKey ) : System |
Default constructor.
|
|
MyGalleries ( String cookieHeader ) : void |
Retrieve all of a users galleries
|
|
SaveGallery ( String cookieHeader, String name, String galleryEditorId, String key, String items ) : void |
Saves a gallery and makes it publicly accessible.
|
|
SignIn ( ) : void |
Sign in as guest
|
|
SignIn ( String username, String password ) : void |
Signs into minus
|
|
UploadItem ( String cookieHeader, String editorId, String key, String filename, Stream data ) : void | ||
UploadItem ( String cookieHeader, String editorId, String key, String filename, String desiredFilename = null ) : void |
Uploads an item (image) to a given gallery. NOTE: This operations does NOT ensure that the item will be saved in the gallery. Saving is something that is done by the SaveGallery operation. Items that are uploaded are left in a transient state until they are saved via SaveGallery.
|
|
UrlEncode ( String parameter ) : String |
Perform URL escaping on a string.
|
메소드 | 설명 | |
---|---|---|
CreateAndSetupWebClient ( ) : CookieAwareWebClient | ||
CreateAndSetupWebClient ( String cookieHeader ) : CookieAwareWebClient | ||
PushData ( Stream input, Stream output ) : void | ||
TriggerCreateGalleryComplete ( |
||
TriggerCreateGalleryFailed ( |
||
TriggerGetItemsComplete ( GetItemsResult result ) : void | ||
TriggerGetItemsFailed ( |
||
TriggerMyGalleriesComplete ( |
||
TriggerMyGalleriesFailed ( |
||
TriggerSaveGalleryComplete ( ) : void | ||
TriggerSaveGalleryFailed ( |
||
TriggerSignInComplete ( |
||
TriggerSignInFailed ( |
||
TriggerUploadItemComplete ( |
||
TriggerUploadItemFailed ( |
public CreateGallery ( String cookieHeader ) : void | ||
cookieHeader | String | |
리턴 | void |
public GetItems ( String cookieHeader, String galleryReaderId ) : void | ||
cookieHeader | String | |
galleryReaderId | String | The reader id (public) of the gallery. |
리턴 | void |
public MinusApi ( String apiKey ) : System | ||
apiKey | String | The API Key assigned to your application. |
리턴 | System |
public MyGalleries ( String cookieHeader ) : void | ||
cookieHeader | String | A String representation of the session id cookie |
리턴 | void |
public SaveGallery ( String cookieHeader, String name, String galleryEditorId, String key, String items ) : void | ||
cookieHeader | String | |
name | String | Desired name for the gallery. |
galleryEditorId | String | Gallery editor ID (obtained when created). |
key | String | Editor key for the gallery (obtained when created). |
items | String | /// The order in which the items will be displayed in the gallery. /// /// If you fail to include items that were uploaded to this gallery, those items will be /// discarded by the server. /// |
리턴 | void |
public SignIn ( String username, String password ) : void | ||
username | String | Username to sign in with. |
password | String | Password to sign in with |
리턴 | void |
public UploadItem ( String cookieHeader, String editorId, String key, String filename, Stream data ) : void | ||
cookieHeader | String | |
editorId | String | |
key | String | |
filename | String | |
data | Stream | |
리턴 | void |
public UploadItem ( String cookieHeader, String editorId, String key, String filename, String desiredFilename = null ) : void | ||
cookieHeader | String | |
editorId | String | Editor id of the gallery to which the item will be uploaded. |
key | String | Key to the gallery. |
filename | String | File location (full path) of the item to be uploaded. |
desiredFilename | String | /// The desired filename for the item to be uploaded (defaults to null). /// If this parameter isn't provided, it will be taken from the filename param. /// Example: /// filename is "C:\files\file.png" and you want it to be uploded as "image.png" /// |
리턴 | void |
public static UrlEncode ( String parameter ) : String | ||
parameter | String | Input (unescaped) string. |
리턴 | String |