code: private void readClass(TagValue tv) {
      int profileClass = tv.getBytesBigEndian(12, 4);
      String hex = Integer.toHexString(profileClass);
      if (hex.equals("73636e72")) {
        this.profileClass = ProfileClass.Input;
      } else if (hex.equals("6d6e7472")) {
        this.profileClass = ProfileClass.Display;
      } else if (hex.equals("70727472")) {
        this.profileClass = ProfileClass.Output;
      } else if (hex.equals("6C696e6b")) {
        this.profileClass = ProfileClass.DeviceLink;
      } else if (hex.equals("73706163")) {
        this.profileClass = ProfileClass.ColorSpace;
      } else if (hex.equals("61627374")) {
        this.profileClass = ProfileClass.Abstract;
      } else if (hex.equals("6e6d636c")) {
        this.profileClass = ProfileClass.NamedColor;
      } else {
        this.profileClass = ProfileClass.Unknown;
      }
    }
docs: Read class.
  
  @param tv the tv