- public SmugMugAlbumsEntity getAlbumsForAccount ( String session, boolean verboseInformation ) throws XMLStreamException, IllegalAccessException.
- processXML (result, CmdLoginWithPassword, true ) )
- String result = callMethod (parameters, CmdLoginWithPassword ).
- setArgumentValue (parameters, SmugMugConstants.
- SmugMugLoginEntity entity = new SmugMugLoginEntity ( ).
- public SmugMugLoginEntity login ( String emailAddress, String password ) throws XMLStreamException, IllegalAccessException.
- The driver code sets the arguments and makes the call to process the arguments:
- StringBuilder sb = new StringBuilder ( ).
- public static String buildEncodedURL (HashMap parameters, String leadingString, boolean encodeValues ) throws UnsupportedEncodingException.
- * * java.io.UnsupportedEncodingException.
- * encodeValues Determines if values are URL encoded.
- * leadingString Usually a "?", this is the first character in the string.
- * parameters Map of key/value pairs that will become the argument string.
- * build a string such as "?key1=value1