org.eaglei.datatools.interim.gsites
Class GSitesUtils
java.lang.Object
org.eaglei.datatools.interim.gsites.GSitesUtils
public class GSitesUtils
- extends java.lang.Object
- Author:
- dbw
|
Method Summary |
static void |
getAttachments(java.lang.String basePath,
boolean delete)
Get attachments for all RNavs |
static void |
getAttachmentsForRnav(java.lang.String rnav,
java.lang.String basePath,
boolean delete)
Get attachments for one RNav |
static void |
getDropboxes(java.lang.String basePath,
boolean delete)
|
static void |
getDropboxForRnav(java.lang.String rnav,
java.lang.String basePath,
boolean delete)
|
static void |
login()
Login to GSite using daemon user |
static void |
setAttachments(java.lang.String basePath)
|
static void |
setAttachmentsForRnav(java.lang.String rnav,
java.lang.String basePath)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GSitesUtils
public GSitesUtils()
login
public static void login()
- Login to GSite using daemon user
getAttachments
public static void getAttachments(java.lang.String basePath,
boolean delete)
throws java.io.IOException,
com.google.gdata.util.ServiceException
- Get attachments for all RNavs
- Parameters:
basePath - path to save files
- Throws:
java.io.IOException
com.google.gdata.util.ServiceException
setAttachments
public static void setAttachments(java.lang.String basePath)
throws java.io.IOException,
com.google.gdata.util.ServiceException
- Throws:
java.io.IOException
com.google.gdata.util.ServiceException
getDropboxes
public static void getDropboxes(java.lang.String basePath,
boolean delete)
throws java.io.IOException,
com.google.gdata.util.ServiceException
- Throws:
java.io.IOException
com.google.gdata.util.ServiceException
getAttachmentsForRnav
public static void getAttachmentsForRnav(java.lang.String rnav,
java.lang.String basePath,
boolean delete)
throws java.io.IOException,
com.google.gdata.util.ServiceException
- Get attachments for one RNav
- Parameters:
rnav - basePath - path to save files
- Throws:
java.io.IOException
com.google.gdata.util.ServiceException
setAttachmentsForRnav
public static void setAttachmentsForRnav(java.lang.String rnav,
java.lang.String basePath)
throws java.io.IOException,
com.google.gdata.util.ServiceException
- Throws:
java.io.IOException
com.google.gdata.util.ServiceException
getDropboxForRnav
public static void getDropboxForRnav(java.lang.String rnav,
java.lang.String basePath,
boolean delete)
throws java.io.IOException,
com.google.gdata.util.ServiceException
- Throws:
java.io.IOException
com.google.gdata.util.ServiceException
Copyright © 2009-2010 Eagle-I. All Rights Reserved.