|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.Resource
org.apache.ant.antunit.LogContent
public class LogContent
Exposes AntUnit log content as a (read-only) Resource.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.types.Resource |
|---|
MAGIC, UNKNOWN_DATETIME, UNKNOWN_SIZE |
| Fields inherited from class org.apache.tools.ant.types.DataType |
|---|
checked, ref |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.tools.ant.types.Resource |
|---|
as, clone, compareTo, getLastModified, getMagicNumber, getName, getOutputStream, getSize, hashCode, isDirectory, isFilesystemOnly, iterator, setDirectory, setExists, setLastModified, setName, setRefid, setSize, size, toLongString, toString |
| Methods inherited from class org.apache.tools.ant.types.DataType |
|---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LogContent()
public LogContent(org.apache.tools.ant.Project p,
org.apache.tools.ant.types.LogLevel level)
level - the LogLevel.| Method Detail |
|---|
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.Resourcejava.io.IOExceptionpublic boolean isExists()
isExists in class org.apache.tools.ant.types.Resourcepublic boolean equals(java.lang.Object o)
equals in class org.apache.tools.ant.types.Resource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||