@API(type=INTERNAL,
src=PRIVATE)
public class Resource2Synchronize
extends java.lang.Object
Constructor and Description |
---|
Resource2Synchronize(java.net.URL url2Synchronize)
Build the resource to synchronize.
|
Modifier and Type | Method and Description |
---|---|
void |
disconect()
Disconnect at the end.
|
int |
getContentLength()
Get the content length.
|
java.io.InputStream |
getInputStream()
Get the InputStream.
|
static Resource2Synchronize[] |
getResources(java.net.URL[] urls)
Get the resources to be synchronized.
|
long |
getTimestamp()
Get the timestamp.
|
java.net.URL |
getURL()
Get the URL to synchronize.
|
public Resource2Synchronize(java.net.URL url2Synchronize)
url2Synchronize
- The URL to synchronize.public java.net.URL getURL()
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public long getTimestamp() throws java.io.IOException
java.io.IOException
public int getContentLength() throws java.io.IOException
java.io.IOException
public void disconect()
public static Resource2Synchronize[] getResources(java.net.URL[] urls)
urls
- The array of URLs.© Copyright Syncro Soft SRL 2002 - 2014. All rights reserved.