| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Collection | |
| public static final IANAProtocolsDB | |
| public Protocol | |
| public Protocol | |
| private static final IANAProtocolsDB. |
| nameToProto | back to summary |
|---|---|
| private final Map<String, Protocol> nameToProto | |
| numberToProto | back to summary |
|---|---|
| private final Map<Integer, Protocol> numberToProto | |
| IANAProtocolsDB | back to summary |
|---|---|
| private IANAProtocolsDB(Map<String, Protocol> nameToProto, Map<Integer, Protocol> numberToProto) | |
| getAllProtocols | back to summary |
|---|---|
| public Collection Implements jnr. | |
| getInstance | back to summary |
|---|---|
| public static final IANAProtocolsDB getInstance() | |
| getProtocolByName | back to summary |
|---|---|
| public Protocol getProtocolByName(String name) Implements jnr. | |
| getProtocolByNumber | back to summary |
|---|---|
| public Protocol getProtocolByNumber(Integer number) Implements jnr. | |
| initProtocolDB | back to summary |
|---|---|
| private static final IANAProtocolsDB. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final List | |
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public IANAProtocolsDB |
| emptyAliases | back to summary |
|---|---|
| private static final List<String> emptyAliases | |
| nameToProto | back to summary |
|---|---|
| private final Map<String, Protocol> nameToProto | |
| numberToProto | back to summary |
|---|---|
| private final Map<Integer, Protocol> numberToProto | |
| ProtocolDBBuilder | back to summary |
|---|---|
| private ProtocolDBBuilder() | |
| add | back to summary |
|---|---|
| public void add(String name, int proto, String... aliases) | |
| build | back to summary |
|---|---|
| public IANAProtocolsDB build() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final IANAProtocolsDB |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| public static final IANAProtocolsDB INSTANCE | |
| SingletonHolder | back to summary |
|---|---|
| private SingletonHolder() | |