public abstract class BaseIOLog
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
date |
protected static java.lang.String |
DATE_FORMAT |
protected java.io.File |
file |
protected java.io.PrintWriter |
out |
protected java.lang.StringBuilder |
sb |
protected java.text.SimpleDateFormat |
sdf |
Constructor and Description |
---|
BaseIOLog(java.io.File logFile) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
createOut()
Create the Print Writer output
|
void |
input(byte[] b) |
void |
input(byte[] b,
int pos,
int len) |
void |
log(boolean input,
byte[] b) |
void |
log(boolean input,
byte[] b,
int pos,
int len) |
void |
log(java.lang.String message) |
void |
output(byte[] b) |
void |
output(byte[] b,
int pos,
int len) |
protected abstract void |
sizeCheck()
Check the size of the logfile and perform adjustments
as necessary
|
protected static final java.lang.String DATE_FORMAT
protected final java.text.SimpleDateFormat sdf
protected java.io.PrintWriter out
protected final java.io.File file
protected final java.lang.StringBuilder sb
protected final java.util.Date date
protected void createOut()
public void close()
public void input(byte[] b)
public void input(byte[] b, int pos, int len)
public void output(byte[] b)
public void output(byte[] b, int pos, int len)
public void log(boolean input, byte[] b)
public void log(boolean input, byte[] b, int pos, int len)
public void log(java.lang.String message)
protected abstract void sizeCheck()
Copyright © 2014 Infinite Automation Systems. All Rights Reserved.