public class AtomEntryParser extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
ignoreAtomContentSrc |
Constructor and Description |
---|
AtomEntryParser(File tempDir,
int memoryThreshold,
long maxContentSize)
Constructor.
|
AtomEntryParser(InputStream stream,
File tempDir,
int memoryThreshold,
long maxContentSize)
Constructor that immediately parses the given stream.
|
Modifier and Type | Method and Description |
---|---|
Acl |
getAcl()
Returns the ACL of the object.
|
ContentStream |
getContentStream()
Returns the content stream.
|
String |
getId()
Returns the Id of the object.
|
ObjectData |
getObject()
Returns the object.
|
List<String> |
getPolicyIds()
Returns the policy id list of the object.
|
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, long maxContentSize)
public AtomEntryParser(InputStream stream, File tempDir, int memoryThreshold, long maxContentSize) throws Exception
Exception
public void setIgnoreAtomContentSrc(boolean ignoreAtomContentSrc)
public ObjectData getObject()
public Properties getProperties()
public String getId()
public Acl getAcl()
public ContentStream getContentStream()
public void parse(InputStream stream) throws Exception
Exception
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.