public class AtomEntryParser extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
ignoreAtomContentSrc |
Constructor and Description |
---|
AtomEntryParser(File tempDir,
int memoryThreshold)
Constructor.
|
AtomEntryParser(InputStream stream,
File tempDir,
int memoryThreshold)
Constructor that immediately parses the given stream.
|
Modifier and Type | Method and Description |
---|---|
org.apache.chemistry.opencmis.commons.data.Acl |
getAcl()
Returns the ACL of the object.
|
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream()
Returns the content stream.
|
String |
getId()
Returns the Id of the object.
|
org.apache.chemistry.opencmis.commons.data.ObjectData |
getObject()
Returns the object.
|
List<String> |
getPolicyIds()
Returns the policy id list of the object.
|
org.apache.chemistry.opencmis.commons.data.Properties |
getProperties()
Returns the properties of the object.
|
void |
parse(InputStream stream)
Parses the stream.
|
void |
setIgnoreAtomContentSrc(boolean ignoreAtomContentSrc)
Sets the flag controlling whether atom content src (external content) is
ignored.
|
public AtomEntryParser(File tempDir, int memoryThreshold)
public AtomEntryParser(InputStream stream, File tempDir, int memoryThreshold) throws Exception
Exception
public void setIgnoreAtomContentSrc(boolean ignoreAtomContentSrc)
public org.apache.chemistry.opencmis.commons.data.ObjectData getObject()
public org.apache.chemistry.opencmis.commons.data.Properties getProperties()
public String getId()
public org.apache.chemistry.opencmis.commons.data.Acl getAcl()
public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream()
public void parse(InputStream stream) throws Exception
Exception
Copyright © 2018 City of Paris. All rights reserved.