medi.db.util
Class FileManager

java.lang.Object
  |
  +--medi.db.util.FileManager

public class FileManager
extends java.lang.Object

A class that contains a set of static functions to manage files mapped in the database.


Constructor Summary
FileManager()
          Creates new FileManager
 
Method Summary
static void execute(Provider prv, VolumeMounter vmount, java.lang.Long dataID)
          Execute a file whose data ID is specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileManager

public FileManager()
Creates new FileManager

Method Detail

execute

public static void execute(Provider prv,
                           VolumeMounter vmount,
                           java.lang.Long dataID)
                    throws DbException,
                           java.io.IOException
Execute a file whose data ID is specified.

Parameters:
prv - The provider to use.
vmount - The volume mounter to use.
dataID - The data ID to open.
Throws:
DbException - If something goes wrong.
java.io.IOException - If the file is invalid.