public class LogContent
extends org.apache.tools.ant.types.Resource
Constructor and Description |
---|
LogContent()
Create a new LogContent resource.
|
LogContent(org.apache.tools.ant.Project p,
org.apache.tools.ant.types.LogLevel level)
Create a new LogContent resource, specifying Project and log level.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.io.InputStream |
getInputStream() |
boolean |
isExists() |
void |
setLevel(org.apache.tools.ant.types.LogLevel level)
Set the desired log level.
|
as, clone, compareTo, getLastModified, getMagicNumber, getName, getOutputStream, getSize, hashCode, isDirectory, isFilesystemOnly, iterator, setDirectory, setExists, setLastModified, setName, setRefid, setSize, size, toLongString, toString
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
public LogContent()
public LogContent(org.apache.tools.ant.Project p, org.apache.tools.ant.types.LogLevel level)
level
- the LogLevel.public void setLevel(org.apache.tools.ant.types.LogLevel level)
level
- a LogLevel enumerated attribute.public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class org.apache.tools.ant.types.Resource
java.io.IOException
public boolean isExists()
isExists
in class org.apache.tools.ant.types.Resource
public boolean equals(java.lang.Object o)
equals
in class org.apache.tools.ant.types.Resource
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.