|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.browse.BrowseOutput
public class BrowseOutput
Utility class to provide a wrapper for the various output possibilities from the IndexBrowse class. It can output to the screen and to file, and it can be verbose or not verbose.
| Constructor Summary | |
|---|---|
BrowseOutput()
Constructor. |
|
| Method Summary | |
|---|---|
String |
getFileName()
|
boolean |
isAppend()
|
boolean |
isFile()
|
boolean |
isPrint()
|
boolean |
isVerbose()
|
void |
message(String message)
Pass in a message to be processed. |
void |
setAppend(boolean append)
|
void |
setFile(boolean file)
|
void |
setFileName(String fileName)
|
void |
setPrint(boolean print)
|
void |
setVerbose(boolean verbose)
|
void |
sql(String sql)
Pass in some SQL. |
void |
urgent(String message)
Pass in a message that must be displayed to the user, irrespective of the verbosity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BrowseOutput()
| Method Detail |
|---|
public boolean isAppend()
public void setAppend(boolean append)
append - The append to set.public String getFileName()
public void setFileName(String fileName)
fileName - The fileName to set.public boolean isFile()
public void setFile(boolean file)
file - The file to set.public boolean isPrint()
public void setPrint(boolean print)
print - The print to set.public boolean isVerbose()
public void setVerbose(boolean verbose)
verbose - The verbose to set.public void message(String message)
message - the message to setpublic void urgent(String message)
message - the urgent message
public void sql(String sql)
throws BrowseException
sql -
BrowseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||