|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensolaris.opengrok.history.RepositoryFactory
public final class RepositoryFactory
This is a factory class for the different repositories.
Method Summary | |
---|---|
static Repository |
getRepository(java.io.File file)
Returns a repository for the given file, or null if no repository was found. |
static Repository |
getRepository(RepositoryInfo info)
Returns a repository for the given file, or null if no repository was found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Repository getRepository(java.io.File file) throws java.lang.InstantiationException, java.lang.IllegalAccessException
file
- File that might contain a repository
java.lang.InstantiationException
java.lang.IllegalAccessException
public static Repository getRepository(RepositoryInfo info) throws java.lang.InstantiationException, java.lang.IllegalAccessException
info
- Information about the repository
java.lang.InstantiationException
java.lang.IllegalAccessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |