Guest User

Untitled

a guest
Feb 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. public static Object deserializeObject(byte[] data) throws IOException {
  2. if (data == null || data.length < 1) {
  3. return null;
  4. }
  5. Object object = null;
  6. try {
  7. ObjectInputStream objectStream = new ObjectInputStream(new ByteArrayInputStream(data));
  8. object = objectStream.readObject();
  9. objectStream.close();
  10. } catch (ClassNotFoundException e) {
  11. e.printStackTrace();
  12. }
  13.  
  14. GET /rest/api/graph
Add Comment
Please, Sign In to add comment