@Immutable
public interface Profile
Modifier and Type | Interface and Description |
---|---|
static class |
Profile.ConfigException
If can't read profile due to syntax error.
|
static class |
Profile.Defaults
Defaults.
|
static class |
Profile.Fixed
Fixed.
|
Modifier and Type | Field and Description |
---|---|
static Profile |
EMPTY
Empty.
|
static com.jcabi.xml.XSD |
SCHEMA
Schema.
|
Modifier and Type | Method and Description |
---|---|
Map<String,InputStream> |
assets()
Get assets.
|
String |
name()
Name of the repo.
|
com.jcabi.xml.XML |
read()
Get it in XML format (throws
Profile.ConfigException , if fails). |
static final com.jcabi.xml.XSD SCHEMA
static final Profile EMPTY
String name()
com.jcabi.xml.XML read() throws IOException
Profile.ConfigException
, if fails).IOException
- If failsMap<String,InputStream> assets() throws IOException
IOException
- If failsCopyright © 2009–2018 Rultor Inc.. All rights reserved.