public final class PackageHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PackageHelper.CamelComponentsModelFilter |
Modifier and Type | Method and Description |
---|---|
static String |
after(String text,
String after) |
static void |
findJsonFiles(File dir,
Set<File> found,
FileFilter filter) |
static boolean |
haveResourcesChanged(org.apache.maven.plugin.logging.Log log,
org.apache.maven.project.MavenProject project,
org.sonatype.plexus.build.incremental.BuildContext buildContext,
String suffix) |
static String |
loadText(InputStream in)
Loads the entire stream into memory as a String and returns it.
|
static Map<String,String> |
parseAsMap(String data)
Parses the text as a map (eg key=value)
|
static void |
writeText(File file,
String text) |
public static boolean haveResourcesChanged(org.apache.maven.plugin.logging.Log log, org.apache.maven.project.MavenProject project, org.sonatype.plexus.build.incremental.BuildContext buildContext, String suffix)
public static String loadText(InputStream in) throws IOException
IOException
public static void writeText(File file, String text) throws IOException
IOException
public static Map<String,String> parseAsMap(String data)
data
- the datapublic static void findJsonFiles(File dir, Set<File> found, FileFilter filter)
Apache Camel