org.glite.lb

Class ILFileWriter

public class ILFileWriter extends Object

This class provides writing messages to some file.
Constructor Summary
ILFileWriter()
Method Summary
static Longwrite(String prefix, String message, int repeatWriteToFile, String owner, String permissions)
Writes message to a file and returns size of this file before writing the data
static Longwrite(String prefix, String message, int repeatWriteToFile)
Writes message to a file and returns size of this file before writing the data

Constructor Detail

ILFileWriter

public ILFileWriter()

Method Detail

write

public static Long write(String prefix, String message, int repeatWriteToFile, String owner, String permissions)
Writes message to a file and returns size of this file before writing the data

Parameters: prefix file path message message which will be written repeatWriteToFile count of attempts to write to file in case of failure

write

public static Long write(String prefix, String message, int repeatWriteToFile)
Writes message to a file and returns size of this file before writing the data

Parameters: prefix file path message message which will be written repeatWriteToFile count of attempts to write to file in case of failure