public class Procfile extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
add(String processType,
String command) |
String |
asString() |
static Procfile |
empty() |
static Procfile |
fromFile(Path path)
Reads Profile from a file.
|
boolean |
isEmpty() |
Procfile |
merge(Procfile other) |
static Procfile |
singleton(String processType,
String command) |
public boolean isEmpty()
public String asString()
public static Procfile empty()
public static Procfile fromFile(Path path) throws IOException
path - The path of the file to readIOException - If an IOExecption occurs while reading the fileCopyright © 2020. All rights reserved.