public class BuildNumberStamper extends Object
| Constructor and Description |
|---|
BuildNumberStamper(File src) |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFile(File sourceFile,
File destFile) |
int |
stampIntoCode(String flvl)
Stamp a four level version number into a version file
|
int |
stampIntoCode(String major,
String minor,
String patch,
String sequence)
Stamps a file
|
int |
stampIntoCode(String major,
String minor,
String patch,
String sequence,
String delimiter)
Stamps a file
|
public BuildNumberStamper(File src) throws IOException
IOExceptionpublic int stampIntoCode(String flvl) throws IOException
flvl - A string representing the four level version,
"major.minor.patch.sequence"IOExceptionpublic int stampIntoCode(String major, String minor, String patch, String sequence) throws IOException
major - minor - patch - sequence - IOExceptionpublic int stampIntoCode(String major, String minor, String patch, String sequence, String delimiter) throws IOException
major - minor - patch - sequence - delimiter - IOExceptionpublic static void copyFile(File sourceFile, File destFile) throws IOException
IOExceptionCopyright © 2018. All rights reserved.