Package org.drasyl.node
Class IdentityFile
java.lang.Object
org.drasyl.node.IdentityFile
Class to read/write a
Identity from/to a file.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Identitystatic IdentityreadFrom(InputStream in) static Identitystatic Identitystatic voidstatic voidwriteTo(OutputStream out, Identity identity) static voidstatic void
-
Field Details
-
CHARSET
-
-
Method Details
-
writeTo
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
readFrom
- Throws:
IOException
-