java.lang.Cloneable
, java.lang.Comparable<Resource>
, java.lang.Iterable<Resource>
, ResourceCollection
, Appendable
public class LogOutputResource extends Resource implements Appendable
description, location, project
MAGIC, UNKNOWN_DATETIME, UNKNOWN_SIZE
Constructor | Description |
---|---|
LogOutputResource(ProjectComponent managingComponent) |
Create a new LogOutputResource.
|
LogOutputResource(ProjectComponent managingComponent,
int level) |
Create a new LogOutputResource.
|
Modifier and Type | Method | Description |
---|---|---|
java.io.OutputStream |
getAppendOutputStream() |
Get an appending OutputStream.
|
java.io.OutputStream |
getOutputStream() |
Get an OutputStream for the Resource.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
finalize, getClass, notify, notifyAll, wait, wait, wait
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
as, asOptional, clone, compareTo, equals, getCheckedRef, getInputStream, getLastModified, getMagicNumber, getName, getSize, hashCode, isDirectory, isExists, isFilesystemOnly, iterator, setDirectory, setExists, setLastModified, setName, setRefid, setSize, size, toLongString, toString
isEmpty, stream
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.