Top Description Fields Constructors Methods
org.apache.derby.impl.services.stream

pack-priv Class BasicGetLogHeader

extends Object
implements PrintWriterGetHeader
Class Inheritance
All Implemented Interfaces
org.apache.derby.shared.common.stream.PrintWriterGetHeader
Imports
java.util.Date, org.apache.derby.shared.common.stream.PrintWriterGetHeader

Get a header to prepend to a line of output. * A HeaderPrintWriter requires an object which implements this interface to construct line headers.
See Also
org.apache.derby.shared.common.stream.HeaderPrintWriter

Field Summary

Modifier and TypeField and Description
private boolean
private boolean
private String

Constructor Summary

AccessConstructor and Description
pack-priv
BasicGetLogHeader(boolean
true means include the calling thread's id in the header.
doThreadId
,
boolean
true means include the current time in the header.
doTimeStamp
,
String
A string to prefix the header. null means don't prefix the header with a string.
tag
)

Constructor for a BasicGetLogHeader object.

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

doThreadIdback to summary
private boolean doThreadId
doTimeStampback to summary
private boolean doTimeStamp
tagback to summary
private String tag

Constructor Detail

BasicGetLogHeaderback to summary
pack-priv BasicGetLogHeader(boolean doThreadId, boolean doTimeStamp, String tag)

Constructor for a BasicGetLogHeader object.

Parameters
doThreadId:boolean

true means include the calling thread's id in the header.

doTimeStamp:boolean

true means include the current time in the header.

tag:String

A string to prefix the header. null means don't prefix the header with a string.

Method Detail

getHeaderback to summary
public String getHeader()

Implements org.apache.derby.shared.common.stream.PrintWriterGetHeader.getHeader.

Doc from org.apache.derby.shared.common.stream.PrintWriterGetHeader.getHeader.

getHeader

Returns:String

The header for an output line.