Skip navigation links
A C E G H I O P S 

A

addOption(Option) - Method in class org.pharmgkb.common.io.util.CliHelper
 
addOption(String, String, String) - Method in class org.pharmgkb.common.io.util.CliHelper
Add a boolean option (aka a flag).
addOption(String, String, String, boolean, String) - Method in class org.pharmgkb.common.io.util.CliHelper
Add a required option that takes an argument.
addOption(String, String, String, boolean, String, int, boolean) - Method in class org.pharmgkb.common.io.util.CliHelper
Add a required option that takes arguments.

C

CliHelper - Class in org.pharmgkb.common.io.util
This is a helper class for command line utilities to deal with command line arguments.
CliHelper(Class) - Constructor for class org.pharmgkb.common.io.util.CliHelper
Standard constructor.
close() - Method in class org.pharmgkb.common.io.google.GoogleApiHelper
 
close() - Method in class org.pharmgkb.common.io.google.GoogleSheetsHelper
 

E

execute(String[], Function<CliHelper, Integer>) - Method in class org.pharmgkb.common.io.util.CliHelper
Parse arguments and execute the function.
exportToTsv(String, Path) - Method in class org.pharmgkb.common.io.google.GoogleSheetsHelper
Exports sheet with the specified ID to TSV.
exportToTsv(URL, Path) - Method in class org.pharmgkb.common.io.google.GoogleSheetsHelper
Exports the default sheet with the specified ID to TSV.
exportToTsv(String, Path, int) - Method in class org.pharmgkb.common.io.google.GoogleSheetsHelper
Exports sheet with the specified ID to TSV.
exportToTsv(URL, Path, int) - Method in class org.pharmgkb.common.io.google.GoogleSheetsHelper
Exports the specified sheet with the specified ID to TSV.
exportToTsv(String, Path, String) - Method in class org.pharmgkb.common.io.google.GoogleSheetsHelper
Exports sheet with the specified ID to TSV.
exportToTsv(URL, Path, String) - Method in class org.pharmgkb.common.io.google.GoogleSheetsHelper
Exports the specified sheet with the specified ID to TSV.

G

getArguments() - Method in class org.pharmgkb.common.io.util.CliHelper
Gets remaining parameters.
getCredential() - Method in class org.pharmgkb.common.io.google.GoogleApiHelper
 
getError() - Method in class org.pharmgkb.common.io.util.CliHelper
Gets the error that occured while parsing arguments.
getHttpTransport() - Method in class org.pharmgkb.common.io.google.GoogleApiHelper
 
getIntValue(String) - Method in class org.pharmgkb.common.io.util.CliHelper
Gets the int value for the given option.
getJsonFactory() - Method in class org.pharmgkb.common.io.google.GoogleApiHelper
 
getPath(String) - Method in class org.pharmgkb.common.io.util.CliHelper
Gets the value for the given option as a Path.
getService() - Method in class org.pharmgkb.common.io.google.GoogleSheetsHelper
 
getSheets() - Method in class org.pharmgkb.common.io.google.GoogleSheetsHelper
Gets a list of all sheets for user.
getValidDirectory(String, boolean) - Method in class org.pharmgkb.common.io.util.CliHelper
Gets the value for the given option as a File.
getValidFile(String, boolean) - Method in class org.pharmgkb.common.io.util.CliHelper
Gets the value for the given option as a Path, that must point to an existing file.
getValue(String) - Method in class org.pharmgkb.common.io.util.CliHelper
Gets the first String value, if any, for the given option.
getValues(String) - Method in class org.pharmgkb.common.io.util.CliHelper
Gets the String values for the given option.
GoogleApiHelper - Class in org.pharmgkb.common.io.google
This helper class handles the prep for using Google API.
GoogleApiHelper(String, String, String...) - Constructor for class org.pharmgkb.common.io.google.GoogleApiHelper
Constructs a GoogleCredential.
GoogleSheetsHelper - Class in org.pharmgkb.common.io.google
This is a helper class for working with the Google Sheets API.
GoogleSheetsHelper(String, String, String) - Constructor for class org.pharmgkb.common.io.google.GoogleSheetsHelper
 
GoogleSheetsHelper(GoogleApiHelper, String) - Constructor for class org.pharmgkb.common.io.google.GoogleSheetsHelper
 

H

hasError() - Method in class org.pharmgkb.common.io.util.CliHelper
Checks whether the arguments were parsed successfully.
hasOption(String) - Method in class org.pharmgkb.common.io.util.CliHelper
Checks whether the specified option exists.

I

isHelpRequested() - Method in class org.pharmgkb.common.io.util.CliHelper
Gets whether help on command line arguments has been requested.
isVerbose() - Method in class org.pharmgkb.common.io.util.CliHelper
Gets whether to operate in verbose mode.

O

org.pharmgkb.common.io.google - package org.pharmgkb.common.io.google
 
org.pharmgkb.common.io.util - package org.pharmgkb.common.io.util
 

P

parse(String[]) - Method in class org.pharmgkb.common.io.util.CliHelper
Parses arguments.
printHelp() - Method in class org.pharmgkb.common.io.util.CliHelper
Prints the help message.

S

SHEETS_SCOPE - Static variable in class org.pharmgkb.common.io.google.GoogleSheetsHelper
 
A C E G H I O P S 
Skip navigation links