|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpl.mipl.mdms.FileService.komodo.client.SimpleClient
public class SimpleClient
Purpose: Ultra simple version of FEI5 client
Copyright 2006, California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledge. 2006.
============================================================================ Modification History : ---------------------- Date Who What ---------------------------------------------------------------------------- 09/14/2006 Nick Initial Release ============================================================================
Constructor Summary | |
---|---|
SimpleClient(String domainFile)
Constructor |
Method Summary | |
---|---|
boolean |
addFiles(String[] files,
String comment)
Add an array of files to filetype with optional comment |
boolean |
get(String[] files,
String destination,
boolean replace,
boolean version,
boolean crc)
Get Action. |
void |
login(String servergroup,
String filetype,
String user,
String password)
Login to filetype |
void |
logout()
Logs out of client |
static void |
main(String[] args)
|
boolean |
replace(String[] files,
String comment)
Replace action |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleClient(String domainFile)
domainFile
- Path to a domain fileMethod Detail |
---|
public void login(String servergroup, String filetype, String user, String password) throws SessionException
servergroup
- Server group namefiletype
- Filetype nameuser
- FEI user namepassword
- FEI user password
SessionException
public void logout() throws SessionException
SessionException
public boolean addFiles(String[] files, String comment) throws SessionException
files
- Array of files to be addedcomment
- Comment associated with files, optional
SessionException
- when operation fails.public boolean replace(String[] files, String comment) throws SessionException
files
- Array of files to be replaced in filetypecomment
- Optional comment associated with file, can be null
SessionException
- when operation fails.public boolean get(String[] files, String destination, boolean replace, boolean version, boolean crc) throws SessionException
files
- Array of filenames to be retrieveddestination
- Output directory pathreplace
- Replace flagversion
- Version flagcrc
- Crc flag
SessionException
- when operation failspublic static void main(String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |