|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.view.web.DownloadSet
public class DownloadSet
A helper for the download.jsp page.
for license details.
The copyright to this program is held by it's authors.
Field Summary | |
---|---|
static String |
BIN_TGZ
|
static String |
BIN_ZIP
|
private boolean |
datesort
|
private static DateFormat |
DF_DISK
|
private static DateFormat |
DF_USER
|
static String |
DOC_TGZ
|
static String |
DOC_ZIP
|
private String |
localprefix
|
protected static org.slf4j.Logger |
log
The log stream |
private static NumberFormat |
NF
|
private String |
setname
|
static String |
SRC_TGZ
|
static String |
SRC_ZIP
|
private static String |
TEST_PREFIX
|
private static String |
TEST_SUFFIX
|
private static String |
VERSION_DATE
|
private String |
webprefix
|
Constructor Summary | |
---|---|
private |
DownloadSet(String localprefix,
String webprefix,
String setname,
boolean datesort)
Create a set of downloads |
Method Summary | |
---|---|
int |
compareTo(DownloadSet that)
|
String |
getDateString()
When was the set of files created (using the file name string) |
static DownloadSet[] |
getDownloadSets(String localprefix,
String webprefix,
boolean datesort)
Get an Iterator over all the Downloads in the specified Directory |
String |
getLinkString(String extension)
Get a short HTML string for the download link. |
String |
getVersionString()
What is the version number (using the file name string) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BIN_ZIP
public static final String BIN_TGZ
public static final String SRC_ZIP
public static final String SRC_TGZ
public static final String DOC_ZIP
public static final String DOC_TGZ
private boolean datesort
private String webprefix
private String localprefix
private String setname
private static final String TEST_PREFIX
private static final String TEST_SUFFIX
private static final NumberFormat NF
private static final String VERSION_DATE
private static final DateFormat DF_DISK
private static final DateFormat DF_USER
protected static final org.slf4j.Logger log
Constructor Detail |
---|
private DownloadSet(String localprefix, String webprefix, String setname, boolean datesort)
Method Detail |
---|
public static DownloadSet[] getDownloadSets(String localprefix, String webprefix, boolean datesort) throws IOException
IOException
public int compareTo(DownloadSet that)
compareTo
in interface Comparable<DownloadSet>
public String getDateString() throws ParseException
ParseException
public String getVersionString()
public String getLinkString(String extension)
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |