Package org.pentaho.di.imp
Class Import
- java.lang.Object
-
- org.pentaho.di.imp.Import
-
public class Import extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
HOME_DIRECTORY
static String
PUBLIC_DIRECTORY
static String
ROOT_DIRECTORY
static String
STRING_IMPORT
-
Constructor Summary
Constructors Constructor Description Import()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] a)
protected static int
parseIntArgument(CommandLineOption option, int def)
Parse an argument as an integer.
-
-
-
Field Detail
-
STRING_IMPORT
public static final String STRING_IMPORT
- See Also:
- Constant Field Values
-
ROOT_DIRECTORY
public static final String ROOT_DIRECTORY
- See Also:
- Constant Field Values
-
PUBLIC_DIRECTORY
public static final String PUBLIC_DIRECTORY
- See Also:
- Constant Field Values
-
HOME_DIRECTORY
public static final String HOME_DIRECTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] a) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
parseIntArgument
protected static int parseIntArgument(CommandLineOption option, int def) throws org.pentaho.di.core.exception.KettleException
Parse an argument as an integer.- Parameters:
option
- Command Line Option to parse argument ofdef
- Default if the argument is not set- Returns:
- The parsed argument or the default if the argument was not specified
- Throws:
org.pentaho.di.core.exception.KettleException
- Error parsing provided argument as an integer
-
-