| Modifier and Type | Class and Description |
|---|---|
| private static interface | |
| private static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Collection | |
| public static final ServicesDB | |
| public Service | getServiceByName(final String name, final String proto)
Implements jnr. |
| public Service | getServiceByPort(final Integer port, final String proto)
Implements jnr. |
| private static final ServicesDB | |
| private final Service | |
| private static final Service | |
| pack-priv static final NetDBParser |
| fileName | back to summary |
|---|---|
| public static String fileName | |
| FileServicesDB | back to summary |
|---|---|
| pack-priv FileServicesDB() | |
| getAllServices | back to summary |
|---|---|
| public Collection Implements jnr. | |
| getInstance | back to summary |
|---|---|
| public static final ServicesDB getInstance() | |
| getServiceByName | back to summary |
|---|---|
| public Service getServiceByName(final String name, final String proto) Implements jnr. | |
| getServiceByPort | back to summary |
|---|---|
| public Service getServiceByPort(final Integer port, final String proto) Implements jnr. | |
| load | back to summary |
|---|---|
| private static final ServicesDB load() | |
| parse | back to summary |
|---|---|
| private final Service parse(FileServicesDB. | |
| parseServicesEntry | back to summary |
|---|---|
| private static final Service parseServicesEntry(NetDBEntry e) | |
| parseServicesFile | back to summary |
|---|---|
| pack-priv static final NetDBParser parseServicesFile() | |
| filter | back to summary |
|---|---|
| public boolean filter(Service s) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ServicesDB |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| public static final ServicesDB INSTANCE | |
| SingletonHolder | back to summary |
|---|---|
| private SingletonHolder() | |