cluster5.shared.utils
Class SharedFileFactory

java.lang.Object
  extended by cluster5.shared.utils.SharedFileFactory

public class SharedFileFactory
extends java.lang.Object


Constructor Summary
SharedFileFactory()
           
 
Method Summary
static SharedFile getSharedFileFor(java.lang.Class<java.lang.Object> clazz)
           
static SharedFile getSharedFileFor(java.io.File file)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedFileFactory

public SharedFileFactory()
Method Detail

getSharedFileFor

public static SharedFile getSharedFileFor(java.lang.Class<java.lang.Object> clazz)
Parameters:
clazz -
Returns:
instance of SharedFile for a class or null if file containing the class was not found

getSharedFileFor

public static SharedFile getSharedFileFor(java.io.File file)
Parameters:
file -
Returns:
instance of SharedFile for a general file