|
||||||||||
| 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.
|
Distribution Licence: JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA The copyright to this program is held by it's authors. |
Licence| 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 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 String |
webprefix
|
| Constructor Summary | |
|---|---|
private |
DownloadSet(String localprefix,
String webprefix,
String setname,
boolean datesort)
Create a set of downloads |
| Method Summary | |
|---|---|
int |
compareTo(Object obj)
|
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 DateFormat DF_DISK
private static final DateFormat DF_USER
protected static final 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
IOExceptionpublic int compareTo(Object obj)
compareTo in interface Comparable
public String getDateString()
throws ParseException
ParseExceptionpublic String getVersionString()
public String getLinkString(String extension)
|
Copyright ? 2003-2004 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||