public class DownLoadedFile
extends java.lang.Object
NOTE: getContent fetches binary content encoded to string for binary Files
Constructor and Description |
---|
DownLoadedFile(java.net.URL url)
Constructor for the DownLoadedFile object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Gets the content attribute of the DownLoadedFile object
|
int |
getContentLength()
Gets the contentLength attribute of the DownLoadedFile object
|
java.lang.String |
getContentType()
Gets the contentType attribute of the DownLoadedFile object
|
java.lang.String |
getFileName()
Gets the fileName attribute of the DownLoadedFile object
|
boolean |
getIsBinary()
Gets the isBinary attribute of the DownLoadedFile object
|
static void |
main(java.lang.String[] args)
NOT YET DOCUMENTED
|
public DownLoadedFile(java.net.URL url) throws java.lang.Exception
url
- url to be downloadedjava.lang.Exception
- if url cannot be processedpublic java.lang.String getContent()
public java.lang.String getFileName()
public boolean getIsBinary()
public int getContentLength()
public java.lang.String getContentType()
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- NOT YET DOCUMENTEDjava.lang.Exception
- NOT YET DOCUMENTED