Bouncy Castle Cryptography Library 1.71

org.bouncycastle.tsp.ers
Class ERSDirectoryDataGroup

java.lang.Object
  |
  +--org.bouncycastle.tsp.ers.ERSCachingData
        |
        +--org.bouncycastle.tsp.ers.ERSDataGroup
              |
              +--org.bouncycastle.tsp.ers.ERSDirectoryDataGroup
All Implemented Interfaces:
ERSData

public class ERSDirectoryDataGroup
extends ERSDataGroup

Representation of a data group based on a directory. Sub-directories will be represented by a single hash.


Fields inherited from class org.bouncycastle.tsp.ers.ERSDataGroup
dataObjects
 
Constructor Summary
ERSDirectoryDataGroup(java.io.File dataDirectory)
          Base constructor for a directory of data objects.
 
Method Summary
 java.util.List getFiles()
          Return a list of the plain files in this data group.
 java.util.List getSubdirectories()
          Return a list of the subdirectories in this data group.
 
Methods inherited from class org.bouncycastle.tsp.ers.ERSDataGroup
calculateHash, getHashes, size
 
Methods inherited from class org.bouncycastle.tsp.ers.ERSCachingData
getHash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERSDirectoryDataGroup

public ERSDirectoryDataGroup(java.io.File dataDirectory)
                      throws java.io.FileNotFoundException
Base constructor for a directory of data objects.
Parameters:
dataDirectory - a directory of data objects.
Method Detail

getFiles

public java.util.List getFiles()
Return a list of the plain files in this data group.
Returns:
a list of file data.

getSubdirectories

public java.util.List getSubdirectories()
Return a list of the subdirectories in this data group.
Returns:
a list of subdirectories.

Bouncy Castle Cryptography Library 1.71