|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.scm.provider.local.metadata.LocalScmMetadataUtils
public class LocalScmMetadataUtils
Utils for dealing with LocalScmMetadata
Field Summary | |
---|---|
static String |
FILENAME
The name of the metadata file |
protected ScmLogger |
logger
|
Constructor Summary | |
---|---|
LocalScmMetadataUtils(ScmLogger logger)
|
Method Summary | |
---|---|
LocalScmMetadata |
buildMetadata(File repository)
Builds LocalScmMetadata based on contents of repository |
LocalScmMetadata |
readMetadata(File dir)
Reads metadata file from given directory. |
void |
writeMetadata(File destinationDir,
LocalScmMetadata metadata)
Writes metadata file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FILENAME
protected final ScmLogger logger
Constructor Detail |
---|
public LocalScmMetadataUtils(ScmLogger logger)
Method Detail |
---|
public LocalScmMetadata buildMetadata(File repository) throws IOException
repository
-
IOException
- if anypublic void writeMetadata(File destinationDir, LocalScmMetadata metadata) throws IOException
destinationDir
- metadata
-
IOException
- if anypublic LocalScmMetadata readMetadata(File dir)
dir
- The directory that should contain the metadata file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |