Oxygen XML Editor, Version 13.2

ro.sync.ecss.extensions.api.component.sync
Class Resource2Synchronize

java.lang.Object
  extended by ro.sync.ecss.extensions.api.component.sync.Resource2Synchronize

@API(type=INTERNAL,
     src=PRIVATE)
public class Resource2Synchronize
extends java.lang.Object


Constructor Summary
Resource2Synchronize(java.net.URL url2Synchronize, java.io.InputStream optionalStream, long timestamp)
          Build the resource to synchronize.
 
Method Summary
 void disconect()
          Disconnect at the end.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resource2Synchronize

public Resource2Synchronize(java.net.URL url2Synchronize,
                            java.io.InputStream optionalStream,
                            long timestamp)
Build the resource to synchronize.

Parameters:
url2Synchronize - The URL to synchronize.
optionalStream - The optional Stream.
timestamp - The time stamp.
Method Detail

getURL

public java.net.URL getURL()
Get the URL to synchronize.

Returns:
The URL.

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Get the InputStream.

Returns:
The input stream.
Throws:
java.io.IOException

getTimestamp

public long getTimestamp()
                  throws java.io.IOException
Get the timestamp.

Returns:
The timestamp.
Throws:
java.io.IOException

disconect

public void disconect()
Disconnect at the end.


getResources

public static Resource2Synchronize[] getResources(java.net.URL[] urls)
Get the resources to be synchronized.

Parameters:
urls - The array of URLs.
Returns:
The array of resources.

Oxygen XML Editor, Version 13.2

© Copyright Syncro Soft SRL 2002 - 2012.