|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.neu.ccs.gui.WebImageTools
Class WebImageTools is a special purpose class for reading
images in various formats from a web site.
| Constructor Summary | |
private |
WebImageTools()
Prevent instantiation. |
| Method Summary | |
static String[] |
readImageFileNamesFromWeb(String imagesURL,
String filelistURL,
String filelist)
Returns all image file names at the given filelist url that are present in the given filelist. |
static Image[] |
readImages(String imagesURL,
String filelist)
Reads the image files at the given url with the given filelist that contains the image file names. |
static Image[] |
readImages(String imagesURL,
String[] imageFileNames)
Reads the image files at the given url with the given image file names. |
static Image[] |
readImages(String imagesURL,
String filelistURL,
String filelist)
Reads the image files at the given images url with the given filelist that contains the image file names; the filelist is assumed to be located at the given filelist url. |
static ImagePaintable[] |
readImagesAsPaintable(String imagesURL,
String filelist)
Reads the image files at the given url with the given filelist that contains the image file names. |
static ImagePaintable[] |
readImagesAsPaintable(String imagesURL,
String[] imageFileNames)
Reads the image files at the given url with the given image file names. |
static ImagePaintable[] |
readImagesAsPaintable(String imagesURL,
String filelistURL,
String filelist)
Reads the image files at the given images url with the given filelist that contains the image file names; the filelist is assumed to be located at the given filelist url. |
static ImagePaintableLite[] |
readImagesAsPaintableLite(String imagesURL,
String filelist)
Reads the image files at the given url with the given filelist that contains the image file names. |
static ImagePaintableLite[] |
readImagesAsPaintableLite(String imagesURL,
String[] imageFileNames)
Reads the image files at the given url with the given image file names. |
static ImagePaintableLite[] |
readImagesAsPaintableLite(String imagesURL,
String filelistURL,
String filelist)
Reads the image files at the given images url with the given filelist that contains the image file names; the filelist is assumed to be located at the given filelist url. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
private WebImageTools()
| Method Detail |
public static Image[] readImages(String imagesURL,
String[] imageFileNames)
Reads the image files at the given url with the given image file names.
Returns the image list as Image[].
If no image files are available, returns an empty array.
imagesURL - the web location with the imagesimageFileNames - the array of image file names
Image[]
public static Image[] readImages(String imagesURL,
String filelist)
Reads the image files at the given url with the given filelist that contains the image file names.
The filelist is assumed to be a file at the same url as the images.
Returns the image list as Image[].
If no image files are available, returns an empty array.
imagesURL - the web location with the imagesfilelist - the name of the text file with the image file list
Image[]
public static Image[] readImages(String imagesURL,
String filelistURL,
String filelist)
Reads the image files at the given images url with the given filelist that contains the image file names; the filelist is assumed to be located at the given filelist url.
Returns the image list as Image[].
If no image files are available, returns an empty array.
imagesURL - the web location with the imagesfilelistURL - the web location with the file listfilelist - the name of the text file with the image file list
Image[]
public static ImagePaintable[] readImagesAsPaintable(String imagesURL,
String[] imageFileNames)
Reads the image files at the given url with the given image file names.
Returns the image list as ImagePaintable[].
If no image files are available, returns an empty array.
imagesURL - the web location with the imagesimageFileNames - the array of image file names
ImagePaintable[]
public static ImagePaintable[] readImagesAsPaintable(String imagesURL,
String filelist)
Reads the image files at the given url with the given filelist that contains the image file names.
The filelist is assumed to be a file at the same url as the images.
Returns the image list as ImagePaintable[].
If no image files are available, returns an empty array.
imagesURL - the web location with the imagesfilelist - the name of the text file with the image file list
ImagePaintable[]
public static ImagePaintable[] readImagesAsPaintable(String imagesURL,
String filelistURL,
String filelist)
Reads the image files at the given images url with the given filelist that contains the image file names; the filelist is assumed to be located at the given filelist url.
Returns the image list as ImagePaintable[].
If no image files are available, returns an empty array.
imagesURL - the web location with the imagesfilelistURL - the web location with the file listfilelist - the name of the text file with the image file list
ImagePaintable[]
public static ImagePaintableLite[] readImagesAsPaintableLite(String imagesURL,
String[] imageFileNames)
Reads the image files at the given url with the given image file names.
Returns the image list as ImagePaintableLite[].
If no image files are available, returns an empty array.
imagesURL - the web location with the imagesimageFileNames - the array of image file names
ImagePaintableLite[]
public static ImagePaintableLite[] readImagesAsPaintableLite(String imagesURL,
String filelist)
Reads the image files at the given url with the given filelist that contains the image file names.
The filelist is assumed to be a file at the same url as the images.
Returns the image list as ImagePaintableLite[].
If no image files are available, returns an empty array.
imagesURL - the web location with the imagesfilelist - the name of the text file with the image file list
ImagePaintableLite[]
public static ImagePaintableLite[] readImagesAsPaintableLite(String imagesURL,
String filelistURL,
String filelist)
Reads the image files at the given images url with the given filelist that contains the image file names; the filelist is assumed to be located at the given filelist url.
Returns the image list as ImagePaintableLite[].
If no image files are available, returns an empty array.
imagesURL - the web location with the imagesfilelistURL - the web location with the file listfilelist - the name of the text file with the image file list
ImagePaintableLite[]
public static String[] readImageFileNamesFromWeb(String imagesURL,
String filelistURL,
String filelist)
Returns all image file names at the given filelist url that are present in the given filelist.
If the filelist url is null or blank then it
is replaced by the images url. Otherwise, the images url is
unused.
If the file list is null or blank, then it is
replaced by the default name: imagelist.txt.
If no image files are available, returns an empty array.
imagesURL - the web location with the imagesfilelistURL - the web location with the file listfilelist - the name of the text file with the image file list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||