org.omnaest.i18nbinder.internal
Class XLSFile

java.lang.Object
  extended by org.omnaest.i18nbinder.internal.XLSFile
All Implemented Interfaces:
Serializable

public class XLSFile
extends Object
implements Serializable

Simple representation of an XLS file of Microsoft Excel.

Author:
Omnaest
See Also:
Serialized Form

Nested Class Summary
static class XLSFile.TableRow
          Representation of a row.
 
Field Summary
protected  File file
           
 
Constructor Summary
XLSFile()
          Creates a unlinked instance.
XLSFile(File file)
           
 
Method Summary
 void clear()
           
 File getFile()
           
 List<XLSFile.TableRow> getTableRowList()
           
static boolean isXLSFile(File file)
           
 void load()
          Loads the data from the disk into this object.
 void setFile(File file)
           
 void store()
          Stores the data from the object onto disk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

protected File file
Constructor Detail

XLSFile

public XLSFile()
Creates a unlinked instance. The underlying file has to be set before invoking load() or store() methods.

See Also:
setFile(File)

XLSFile

public XLSFile(File file)
Parameters:
file -
Method Detail

load

public void load()
Loads the data from the disk into this object.


store

public void store()
Stores the data from the object onto disk.


isXLSFile

public static boolean isXLSFile(File file)

getTableRowList

public List<XLSFile.TableRow> getTableRowList()

getFile

public File getFile()

setFile

public void setFile(File file)

clear

public void clear()


Copyright © 2012. All Rights Reserved.