Package ch.njol.yggdrasil

Examples of ch.njol.yggdrasil.YggdrasilInputStream.readObject()


    assert (s = type.getSerializer()) != null && (s.mustSyncDeserialization() ? Bukkit.isPrimaryThread() : true);
    YggdrasilInputStream in = null;
    try {
      value = new SequenceInputStream(new ByteArrayInputStream(getYggdrasilStart(type)), value);
      in = Variables.yggdrasil.newInputStream(value);
      return in.readObject();
    } catch (final IOException e) { // i.e. invalid save
      if (Skript.testing())
        e.printStackTrace();
      return null;
    } finally {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.