Пример #1
0
  public boolean parse() throws IOException {
    if (this.nextTag(0) != 965) {
      throw new IOException();
    } else {
      while (this.nextTag(0) != 3) {
        if (this.tag == 973) {
          GalResult var1 = this.mGalResult;
          double var2 = this.mService.mProtocolVersionDouble.doubleValue();
          var1.protocolVerison = var2;
          GalResult var4 = this.mGalResult;
          this.parseResponse(var4);
        } else {
          this.skipTag();
        }
      }

      boolean var5;
      if (this.mGalResult.total > 0) {
        var5 = true;
      } else {
        var5 = false;
      }

      return var5;
    }
  }
Пример #2
0
  public void parseProperties(GalResult var1) throws IOException {
    String var2 = null;
    String var3 = null;
    String var4 = null;
    String var5 = null;
    String var6 = null;
    String var7 = null;
    String var8 = null;
    String var9 = null;
    String var10 = null;
    String var11 = null;
    String var12 = null;

    while (this.nextTag(967) != 3) {
      if (this.tag == 1029) {
        var2 = this.getValue();
      } else if (this.tag == 1030) {
        var3 = this.getValue();
      } else if (this.tag == 1031) {
        var4 = this.getValue();
      } else if (this.tag == 1032) {
        var5 = this.getValue();
      } else if (this.tag == 1033) {
        var6 = this.getValue();
      } else if (this.tag == 1034) {
        var7 = this.getValue();
      } else if (this.tag == 1039) {
        var8 = this.getValue();
      } else if (this.tag == 1035) {
        var9 = this.getValue();
      } else if (this.tag == 1036) {
        var10 = this.getValue();
      } else if (this.tag == 1037) {
        var11 = this.getValue();
      } else if (this.tag == 1038) {
        var12 = this.getValue();
      } else if (this.tag == 1040) {
        this.parsePicture();
      } else {
        this.skipTag();
      }
    }

    if (var2 != null) {
      if (var8 != null) {
        String var13 = this.mGalPictureData;
        var1.addGalData(
            0L, var2, var3, var4, var5, var6, var7, var8, var9, var10, var11, var12, var13);
      }
    }
  }
Пример #3
0
 public void parseStore(GalResult var1) throws IOException {
   while (this.nextTag(967) != 3) {
     if (this.tag == 974) {
       this.parseResult(var1);
     } else if (this.tag == 971) {
       String var2 = this.getValue();
       if (var2 != null) {
         String[] var3 = var2.split("-");
         if (var3.length == 2) {
           int var4 = Integer.parseInt(var3[0]);
           var1.startRange = var4;
           int var5 = Integer.parseInt(var3[1]);
           var1.endRange = var5;
         }
       }
     } else if (this.tag == 976) {
       int var6 = this.getValueInt();
       var1.total = var6;
     } else {
       this.skipTag();
     }
   }
 }