Examples of readString()


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

    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.readString(), is("ddsfseee"));
    char ch = reader.readAndSkipBlank();
    Assert.assertThat(ch, is(','));
   
    ret = reader.readField(t1);
    Assert.assertThat(new String(ret), is("testField2"));
View Full Code Here

Examples of com.firefly.utils.json.io.JsonStringReader.readString()

    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.readString(), is("ddsfseee"));
    char ch = reader.readAndSkipBlank();
    Assert.assertThat(ch, is(','));
   
    ret = reader.readField(t1);
    Assert.assertThat(new String(ret), is("testField2"));
View Full Code Here

Examples of com.google.gwt.user.client.rpc.SerializationStreamReader.readString()

                SerializationStreamReader streamReader = getSerializationStreamFactory()
                        .createStreamReader(getText());

                // Deserialize the object
                if (isString()) {
                    this.object = (T) streamReader.readString();
                } else {
                    this.object = (T) streamReader.readObject();
                }

            } catch (Exception e) {
View Full Code Here

Examples of com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readString()

            ServerSerializationStreamReader streamReader = new ServerSerializationStreamReader(
                    classLoader, serializationPolicyProvider);
            streamReader.prepareToRead(encodedRequest);

            // Read the name of the RemoteService interface
            String serviceIntfName = streamReader.readString();

            if (type != null) {
                if (!implementsInterface(type, serviceIntfName)) {
                    // The service does not implement the requested
                    // interface
View Full Code Here

Examples of com.google.protobuf.CodedInputStream.readString()

      int tag;
      while ((tag = in.readTag()) != 0) {
         readTags++;
         switch (tag) {
            case wrappedDescriptorFullName << 3 | WireFormat.WIRETYPE_LENGTH_DELIMITED:
               descriptorFullName = in.readString();
               break;
            case wrappedEnum << 3 | WireFormat.WIRETYPE_VARINT:
               enumValue = in.readEnum();
               break;
            case wrappedMessageBytes << 3 | WireFormat.WIRETYPE_LENGTH_DELIMITED:
View Full Code Here

Examples of com.impossibl.postgres.api.jdbc.PGSQLInput.readString()

    }

    @Override
    public void readSQL(SQLInput stream, String typeName) throws SQLException {
      PGSQLInput in = (PGSQLInput) stream;
      str = in.readString();
      str2 = in.readString();
      id = (UUID) in.readObject();
      num = in.readDouble();
    }
View Full Code Here

Examples of com.itstherules.io.FileReader.readString()

 
  public FlvHeader(IOHelper ioh) {
    this.ioh = ioh;
    FileReader fh = ioh.getFileReader();
    fh.setDebug(ioh.isDebug());
    signature = fh.readString(3);
    version = fh.readUint(1);
    int typeFlags = fh.readUint(1);
    containsAudio = (typeFlags & 4) == 1;
    containsVideo = (typeFlags & 1) == 1;
    dataOffset = fh.readUint(4);
View Full Code Here

Examples of com.jme3.export.InputCapsule.readString()

  @Override
  public void read(JmeImporter im) throws IOException {
       InputCapsule input = im.getCapsule(this);

       primhand = input.readString("primhand", "");
       offhand = input.readString("offhand", "");
       offhandOptional= input.readInt("offhandOptional", 0);
       animSet = input.readString("animSet", "");
       defaultSet = input.readString("defaultSet", "");
  }
View Full Code Here

Examples of com.jme3.scene.plugins.blender.file.BlenderInputStream.readString()

        BlenderInputStream bis = blenderContext.getInputStream();
        int currentPosition = bis.getPosition();
        Pointer pRnaPath = (Pointer) structure.getFieldValue("rna_path");
        FileBlockHeader dataFileBlock = blenderContext.getFileBlock(pRnaPath.getOldMemoryAddress());
        bis.setPosition(dataFileBlock.getBlockPosition());
        String rnaPath = bis.readString();
        bis.setPosition(currentPosition);
        int arrayIndex = ((Number) structure.getFieldValue("array_index")).intValue();

        // determining the curve type
        if (rnaPath.endsWith("location")) {
View Full Code Here

Examples of com.maverick.util.ByteArrayReader.readString()

      ByteArrayWriter baw = new ByteArrayWriter();
      baw.writeInt(resourceId);
      Request request = new Request(SETUP_AND_LAUNCH_WEB_FORWARD, baw.toByteArray());
      if (agent.getConnection().sendRequest(request, true) && request.getRequestData()!=null) {
        ByteArrayReader bar = new ByteArrayReader(request.getRequestData());
        String uri = bar.readString();
        agent.getGUI().openBrowser(uri);
        // #ifdef DEBUG
        log.debug("Application launch setup");
        // #endif
//        processLaunchRequest(request);
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.