home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2007 April / PCpro_2007_04.ISO / files / dsl / jNetTool.exe / org / xbill / DNS / ExtendedFlags.class (.txt) < prev    next >
Encoding:
Java Class File  |  2005-06-05  |  1.0 KB  |  26 lines

  1. package org.xbill.DNS;
  2.  
  3. public final class ExtendedFlags {
  4.    private static Mnemonic extflags = new Mnemonic("EDNS Flag", 3);
  5.    // $FF: renamed from: DO int
  6.    public static final int field_0 = 32768;
  7.  
  8.    static {
  9.       extflags.setMaximum(65535);
  10.       extflags.setPrefix("FLAG");
  11.       extflags.setNumericAllowed(true);
  12.       extflags.add(32768, "do");
  13.    }
  14.  
  15.    private ExtendedFlags() {
  16.    }
  17.  
  18.    public static String string(int i) {
  19.       return extflags.getText(i);
  20.    }
  21.  
  22.    public static int value(String s) {
  23.       return extflags.getValue(s);
  24.    }
  25. }
  26.