Class FileTable

java.lang.Object
java.util.AbstractMap<K,​V>
java.util.HashMap<String,​byte[]>
com.independentsoft.office.FileTable
All Implemented Interfaces:
Serializable, Cloneable, Map<String,​byte[]>

public class FileTable extends HashMap<String,​byte[]>
The Class FileTable.
See Also:
Serialized Form
  • Constructor Details

    • FileTable

      public FileTable()
      Instantiates a new file table.
  • Method Details

    • add

      public void add(String path, String inputFilePath) throws IOException
      Adds the.
      Parameters:
      path - the path
      inputFilePath - the input file path
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • add

      public void add(String path, InputStream stream) throws IOException
      Adds the.
      Parameters:
      path - the path
      stream - the stream
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • add

      public void add(String path, byte[] buffer)
      Adds the.
      Parameters:
      path - the path
      buffer - the buffer
    • clone

      public FileTable clone()
      Overrides:
      clone in class HashMap<String,​byte[]>
    • getPaths

      public Set<String> getPaths()
      Gets the paths.
      Returns:
      the paths