openlsd.server.admin.LSDGetPaths Class Reference

Collaboration diagram for openlsd.server.admin.LSDGetPaths:

Collaboration graph
[legend]

List of all members.


Detailed Description

This class is intend to get a copy in the OUT path of a list of files.
Author:
Frederic BREGIER LGPL 2007

Public Member Functions

 LSDGetPaths (LSDLoadConfig llc)
boolean runGetPaths (String filename)

Static Public Member Functions

static void main (String[] args)

Static Public Attributes

static LSDLoadConfig llc = null

Protected Attributes

long lid = LSDConstants.invalide_idx
LSDDbAdmin admin = null
LSDLegacy lsdlegacy = null
FileWriter fileWriter = null
FileWriter fileErrWriter = null
String filepath = null
LSDBusiness lsdb = null
LSDExtDbDocument document = null

Private Member Functions

void createFileErrWriter ()

Constructor & Destructor Documentation

openlsd.server.admin.LSDGetPaths.LSDGetPaths ( LSDLoadConfig  llc  ) 

Create a LSDGetPaths from args

Parameters:
llc 


Member Function Documentation

static void openlsd.server.admin.LSDGetPaths.main ( String[]  args  )  [static]

It takes one file as input containing Business index on each line and it returns as output in the file named from the source one plus ".out" the Business index following by the full path access to the real file on each line.

Parameters:
args 

void openlsd.server.admin.LSDGetPaths.createFileErrWriter (  )  [private]

Create the FileWriter for Error output

boolean openlsd.server.admin.LSDGetPaths.runGetPaths ( String  filename  ) 

Run the GetPaths function from filename including Business Index

Parameters:
filename 
Returns:
True if OK, else False


Member Data Documentation

current Legacy id

The DBAdmin connector

The LSD Legacy object

Object to load XML configuration

FileWriter openlsd.server.admin.LSDGetPaths.fileWriter = null [protected]

File out

FileWriter openlsd.server.admin.LSDGetPaths.fileErrWriter = null [protected]

File error out

String openlsd.server.admin.LSDGetPaths.filepath = null [protected]

Original source file

String identifying one specific document in one legacy : Business object

DB Document Object


The documentation for this class was generated from the following file: