Package org.jrd.backend.data.cli.utils
Class Saving
- java.lang.Object
-
- org.jrd.backend.data.cli.utils.Saving
-
- All Implemented Interfaces:
CommonUtils.StatusKeeper
public class Saving extends java.lang.Object implements CommonUtils.StatusKeeper
-
-
Constructor Summary
Constructors Constructor Description Saving(java.lang.String as, java.lang.String like)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAs()
java.lang.String
getLike()
void
onException(java.lang.Exception ex)
java.io.PrintStream
openPrintStream()
void
setText(java.lang.String s)
boolean
shouldSave()
int
toInt(java.lang.String suffix)
-
-
-
Field Detail
-
DEFAULT
public static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
-
EXACT
public static final java.lang.String EXACT
- See Also:
- Constant Field Values
-
FQN
public static final java.lang.String FQN
- See Also:
- Constant Field Values
-
DIR
public static final java.lang.String DIR
- See Also:
- Constant Field Values
-
as
private final java.lang.String as
-
like
private final java.lang.String like
-
-
Method Detail
-
shouldSave
public boolean shouldSave()
-
setText
public void setText(java.lang.String s)
- Specified by:
setText
in interfaceCommonUtils.StatusKeeper
-
onException
public void onException(java.lang.Exception ex)
- Specified by:
onException
in interfaceCommonUtils.StatusKeeper
-
toInt
public int toInt(java.lang.String suffix)
-
openPrintStream
public java.io.PrintStream openPrintStream() throws java.io.IOException
- Throws:
java.io.IOException
-
getAs
public java.lang.String getAs()
-
getLike
public java.lang.String getLike()
-
-