com.funambol.syncml.client
Class TwoPhasesFileSyncSource.EmptyFileSyncItem
java.lang.Object
com.funambol.syncml.spds.SyncItem
com.funambol.syncml.client.TwoPhasesFileSyncSource.EmptyFileSyncItem
- Enclosing class:
- TwoPhasesFileSyncSource
protected class TwoPhasesFileSyncSource.EmptyFileSyncItem
- extends SyncItem
Methods inherited from class com.funambol.syncml.spds.SyncItem |
getClientRepresentation, getContent, getKey, getObjectSize, getOutputStream, getParent, getSourceParent, getState, getType, hasContent, setClientRepresentation, setContent, setKey, setObjectSize, setParent, setSourceParent, setState, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TwoPhasesFileSyncSource.EmptyFileSyncItem
public TwoPhasesFileSyncSource.EmptyFileSyncItem(java.lang.String fileName,
java.lang.String key)
throws java.io.IOException
- Throws:
java.io.IOException
TwoPhasesFileSyncSource.EmptyFileSyncItem
public TwoPhasesFileSyncSource.EmptyFileSyncItem(java.lang.String fileName,
java.lang.String key,
java.lang.String type,
char state,
java.lang.String parent)
throws java.io.IOException
- Throws:
java.io.IOException
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Creates a new input stream to read from. If the source is configured
to handle File Data Object, then the stream returns the XML
description of the file. @see FileObjectInputStream for more details.
- Overrides:
getInputStream
in class SyncItem
- Returns:
- an InputStream if the item contains at least one byte, null
otherwise
- Throws:
java.io.IOException
getFileName
public java.lang.String getFileName()
Copyright © 2001-2009 Funambol.