|
||||||||||
| 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 java.lang.String |
FILENAME
The name of the metadata file |
protected ScmLogger |
logger
|
| Constructor Summary | |
|---|---|
LocalScmMetadataUtils(ScmLogger logger)
|
|
| Method Summary | |
|---|---|
LocalScmMetadata |
buildMetadata(java.io.File repository)
Builds LocalScmMetadata based on contents of repository |
LocalScmMetadata |
readMetadata(java.io.File dir)
Reads metadata file from given directory. |
void |
writeMetadata(java.io.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 java.lang.String FILENAME
protected final ScmLogger logger
| Constructor Detail |
|---|
public LocalScmMetadataUtils(ScmLogger logger)
| Method Detail |
|---|
public LocalScmMetadata buildMetadata(java.io.File repository)
throws java.io.IOException
repository -
java.io.IOException - if any
public void writeMetadata(java.io.File destinationDir,
LocalScmMetadata metadata)
throws java.io.IOException
destinationDir - metadata -
java.io.IOException - if anypublic LocalScmMetadata readMetadata(java.io.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 | |||||||||