Log4j 1.1

pl.psnc.expres.model.factory
Class VlbiExperimentFactory

java.lang.Object
  extended by pl.psnc.expres.model.factory.VlbiExperimentFactory

public class VlbiExperimentFactory
extends java.lang.Object

VlbiExperimentFactory class - the factory is used to load a VLBI experiment resources (vex, ccf, workflow, jgx).

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Constructor Summary
VlbiExperimentFactory()
           
 
Method Summary
static VlbiExperiment getInstance()
          Get instance of VlbiExperiment
static VlbiExperiment getInstance(java.io.InputStream inStream)
          Creates a VlbiExperiment model from the given input stream.
static VlbiExperiment getInstance(RemoteVlbiExperiment remoteVlbiExp)
          Creates new instance of vlbi experiment based on remote vlbi experiment (instance of RemoteVlbiExperiment)
static VlbiExperiment getInstance(java.lang.String file)
          Creates a VlbiExperiment model from the given file
static VlbiExperiment newInstance()
          Creates a new instance of VlbiExperiment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VlbiExperimentFactory

public VlbiExperimentFactory()
Method Detail

getInstance

public static VlbiExperiment getInstance()
Get instance of VlbiExperiment

Returns:
instance of VlbiExperiment

newInstance

public static VlbiExperiment newInstance()
Creates a new instance of VlbiExperiment

Returns:
new instance of VlbiExperiment

getInstance

public static VlbiExperiment getInstance(RemoteVlbiExperiment remoteVlbiExp)
                                  throws pl.psnc.vlab.exception.ResourceNotFoundException
Creates new instance of vlbi experiment based on remote vlbi experiment (instance of RemoteVlbiExperiment)

Parameters:
remoteVlbiExp - remote vlbi experiment (instance of RemoteVlbiExperiment)
Returns:
new instance of vlbi experiment ( VlbiExperiment )
Throws:
pl.psnc.vlab.exception.ResourceNotFoundException

getInstance

public static VlbiExperiment getInstance(java.lang.String file)
                                  throws pl.psnc.vlab.exception.ResourceNotFoundException
Creates a VlbiExperiment model from the given file

Parameters:
file - content of vlbi experiment
Returns:
instance of VlbiExperiment
Throws:
pl.psnc.vlab.exception.ResourceNotFoundException - thrown when model creation fails

getInstance

public static VlbiExperiment getInstance(java.io.InputStream inStream)
                                  throws pl.psnc.vlab.exception.ResourceNotFoundException
Creates a VlbiExperiment model from the given input stream.

Parameters:
inStream - content of vlbi experiment
Returns:
instance of VlbiExperiment
Throws:
pl.psnc.vlab.exception.ResourceNotFoundException - thrown when model creation fails

Log4j 1.1

Copyright 2007-2008 by VLAB