|
|||||||||
| Home >> All >> org >> repoweb >> model >> [ file overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.repoweb.model.file
Class FileRepository

java.lang.Objectorg.repoweb.model.file.FileRepository
- All Implemented Interfaces:
- org.repoweb.model.Repository
- public class FileRepository
- extends java.lang.Object
- implements org.repoweb.model.Repository
- extends java.lang.Object
Represente un repository maven accede directement par des fichiers .
| Field Summary | |
private java.io.File |
_root
|
private static org.apache.commons.logging.Log |
LOG
|
| Constructor Summary | |
FileRepository(java.io.File root)
|
|
FileRepository(java.lang.String root)
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
LOG
private static final org.apache.commons.logging.Log LOG
_root
private final java.io.File _root
| Constructor Detail |
FileRepository
public FileRepository(java.lang.String root) throws org.repoweb.model.BadRepositoryLocationException
FileRepository
public FileRepository(java.io.File root) throws org.repoweb.model.BadRepositoryLocationException
| Method Detail |
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
findGroup
public org.repoweb.model.Group findGroup(java.lang.String groupId) throws org.repoweb.model.UnknownGroupIdException
- Description copied from interface:
org.repoweb.model.Repository - Search for a group.
- Specified by:
findGroupin interfaceorg.repoweb.model.Repository
findGroupsByName
public org.repoweb.model.GroupList findGroupsByName(java.lang.String pattern)
- Description copied from interface:
org.repoweb.model.Repository - Search groups that have a groupId that match pattern.
- Specified by:
findGroupsByNamein interfaceorg.repoweb.model.Repository
findArtifactByName
public org.repoweb.model.ArtifactList findArtifactByName(java.lang.String pattern)
- Description copied from interface:
org.repoweb.model.Repository - Search Artifacts that have an id that match pattern.
- Specified by:
findArtifactByNamein interfaceorg.repoweb.model.Repository
findArtifactByClass
public org.repoweb.model.ArtifactList findArtifactByClass(java.lang.String fullClassName)
- Description copied from interface:
org.repoweb.model.Repository - Search Artifacts that contains a class.
- Specified by:
findArtifactByClassin interfaceorg.repoweb.model.Repository
findAllGroups
public org.repoweb.model.GroupList findAllGroups()
- Description copied from interface:
org.repoweb.model.Repository - Search alll groups.
- Specified by:
findAllGroupsin interfaceorg.repoweb.model.Repository
loadArtifactFrom
private java.util.List loadArtifactFrom(java.io.File groupFolder, java.lang.String type)
buildGroups
private org.repoweb.model.GroupList buildGroups(java.io.File[] grpFolders)
addArtifact
private void addArtifact(java.io.File typeFolder, java.util.List artifactList)
loadAllArtifact
private java.util.List loadAllArtifact(java.lang.String type)
containsFile
private boolean containsFile(org.repoweb.model.Artifact artifact, java.lang.String fileName)
toClassFile
private static java.lang.String toClassFile(java.lang.String fullClassName)
|
|||||||||
| Home >> All >> org >> repoweb >> model >> [ file overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.repoweb.model.file.FileRepository