org.esa.beam.framework.ui
Class FormatedFileHistory

java.lang.Object
  extended by org.esa.beam.framework.ui.UserInputHistory
      extended by org.esa.beam.framework.ui.FileHistory
          extended by org.esa.beam.framework.ui.FormatedFileHistory

public class FormatedFileHistory
extends FileHistory

FileHistory is a fixed-size array for the pathes of files opened/saved by a user. If a new file is added and the file history is full, the list of registered files is shifted so that the oldest file path is beeing skipped..

Version:
$Revision$ $Date$
Author:
Norman Fomferra

Constructor Summary
FormatedFileHistory(FileHistory history, ProductReaderPlugIn readerPlugIn)
           
FormatedFileHistory(int maxNumEntries, String propertyKey, ProductReaderPlugIn readerPlugIn)
           
 
Method Summary
protected  boolean isValidItem(String item)
           
 
Methods inherited from class org.esa.beam.framework.ui.UserInputHistory
copyInto, getEntries, getMaxNumEntries, getNumEntries, getPropertyKey, initBy, push, setMaxNumEntries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatedFileHistory

public FormatedFileHistory(FileHistory history,
                           ProductReaderPlugIn readerPlugIn)

FormatedFileHistory

public FormatedFileHistory(int maxNumEntries,
                           String propertyKey,
                           ProductReaderPlugIn readerPlugIn)
Method Detail

isValidItem

protected boolean isValidItem(String item)
Overrides:
isValidItem in class FileHistory


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.