mx4j.persist

Class FilePersister

public class FilePersister extends Persister

A persister object that stores to files.

Version: $Revision: 1.10 $

Constructor Summary
FilePersister(String location, String name)
Creates a new FilePersister.
Method Summary
StringgetFileName()
Returns the path where the information is stored.
Objectload()
voidstore(Object data)

Constructor Detail

FilePersister

public FilePersister(String location, String name)
Creates a new FilePersister.

Parameters: location the directory where the file will be written (must already exist); if null the name is used as a location name the file name used to store information

Method Detail

getFileName

public String getFileName()
Returns the path where the information is stored.

load

public Object load()

store

public void store(Object data)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.