Examples of readBoolean()


Examples of be.bagofwords.util.WrappedSocketConnection.readBoolean()

        try {
            connection = new WrappedSocketConnection(host, 1220);
            connection.writeByte((byte) RemoteFileServer.Action.EXISTS.ordinal());
            connection.writeString(relPath.getPath());
            connection.flush();
            return connection.readBoolean();
        } catch (IOException exp) {
            throw new RuntimeException("Received exception while querying exists to " + host + ":" + port, exp);
        } finally {
            IOUtils.closeQuietly(connection);
        }
View Full Code Here

Examples of bm.core.io.SerializerInputStream.readBoolean()

            zis = new ZInputStream( is );
            in = new SerializerInputStream( zis );

            final int       order           = in.readInt(); // ToDo: should do something with this?
            final byte      type            = in.readByte();
            final boolean   caseSensitive   = in.readBoolean();
            Store rs = null;
            boolean burstMode = Store.isBurstMode();
            try
            {
                System.gc();
View Full Code Here

Examples of ch.ethz.ssh2.packets.TypesReader.readBoolean()

    {
      if (wantReply != false)
        throw new IOException("Badly formatted SSH_MSG_CHANNEL_REQUEST message, 'want reply' is true");

      String signame = tr.readString("US-ASCII");
      tr.readBoolean();
      tr.readString();
      tr.readString();

      if (tr.remain() != 0)
        throw new IOException("Badly formatted SSH_MSG_CHANNEL_REQUEST message");
View Full Code Here

Examples of com.ardor3d.util.export.InputCapsule.readBoolean()

        oc.write(_passStates.values().toArray(new RenderState[0]), "passStates", null);
    }

    public void read(final InputCapsule capsule) throws IOException {
        final InputCapsule ic = capsule;
        _enabled = ic.readBoolean("enabled", true);
        final RenderState[] states = CapsuleUtils.asArray(ic.readSavableArray("passStates", null), RenderState.class);
        _passStates.clear();
        if (states != null) {
            for (final RenderState state : states) {
                _passStates.put(state.getType(), state);
View Full Code Here

Examples of com.badlogic.gdx.utils.DataInput.readBoolean()

      skeletonData.version = input.readString();
      if (skeletonData.version.isEmpty()) skeletonData.version = null;
      skeletonData.width = input.readFloat();
      skeletonData.height = input.readFloat();

      boolean nonessential = input.readBoolean();

      if (nonessential) {
        skeletonData.imagesPath = input.readString();
        if (skeletonData.imagesPath.isEmpty()) skeletonData.imagesPath = null;
      }
View Full Code Here

Examples of com.esotericsoftware.kryo.io.Input.readBoolean()

      write.writeBoolean(false);
    }

    Input read = new UnsafeMemoryInput(write.toBytes());
    for (int i = 0; i < 100; i++) {
      assertEquals(true, read.readBoolean());
      assertEquals(false, read.readBoolean());
    }
  }

  public void testChars () throws IOException {
View Full Code Here

Examples of com.esotericsoftware.kryo.io.UnsafeInput.readBoolean()

      write.writeBoolean(false);
    }

    Input read = new UnsafeInput(write.toBytes());
    for (int i = 0; i < 100; i++) {
      assertEquals(true, read.readBoolean());
      assertEquals(false, read.readBoolean());
    }
  }

  public void testChars () throws IOException {
View Full Code Here

Examples of com.esotericsoftware.kryo.io.UnsafeMemoryInput.readBoolean()

      write.writeBoolean(false);
    }

    Input read = new UnsafeMemoryInput(write.toBytes());
    for (int i = 0; i < 100; i++) {
      assertEquals(true, read.readBoolean());
      assertEquals(false, read.readBoolean());
    }
  }

  public void testChars () throws IOException {
View Full Code Here

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader.readBoolean()

  {
    super( assertionConfig, assertable, true, true, true, true );

    XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader( getConfiguration() );
    token = reader.readString( "token", null );
    ignoreCase = reader.readBoolean( "ignoreCase", false );
    useRegEx = reader.readBoolean( "useRegEx", false );
  }

  public String internalAssertResponse( MessageExchange messageExchange, SubmitContext context )
      throws AssertionException
View Full Code Here

Examples of com.firefly.utils.json.JsonReader.readBoolean()

    Assert.assertThat(reader.isObject(), is(true));
    char[] t1 = "dsffsfsf".toCharArray();
    char[] ret = reader.readField(t1);
    Assert.assertThat(new String(ret), is("testField"));
    Assert.assertThat(reader.isColon(), is(true));
    Assert.assertThat(reader.readBoolean(), is(true));
    char ch = reader.readAndSkipBlank();
    Assert.assertThat(ch, is('}'));
    reader.close();
  }
 
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.