public class LogOutputResource extends Resource implements Appendable
MAGIC, UNKNOWN_DATETIME, UNKNOWN_SIZE
description, location, project
Constructor and Description |
---|
LogOutputResource(ProjectComponent managingComponent)
Create a new LogOutputResource.
|
LogOutputResource(ProjectComponent managingComponent,
int level)
Create a new LogOutputResource.
|
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
getAppendOutputStream()
Get an appending OutputStream.
|
java.io.OutputStream |
getOutputStream()
Get an OutputStream for the Resource.
|
as, clone, compareTo, equals, getInputStream, getLastModified, getMagicNumber, getName, getSize, hashCode, isDirectory, isExists, 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
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public LogOutputResource(ProjectComponent managingComponent)
managingComponent
- dittopublic LogOutputResource(ProjectComponent managingComponent, int level)
managingComponent
- owning log contentlevel
- log levelpublic java.io.OutputStream getAppendOutputStream() throws java.io.IOException
getAppendOutputStream
in interface Appendable
java.io.IOException
- if anything goes wrongpublic java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in class Resource
java.io.IOException
- if unable to provide the content of this
Resource as a stream.