(String name)
| 63 | public static final int pseudoEncodingVMwareCursor = 0x574d5664; |
| 64 | |
| 65 | public static int encodingNum(String name) { |
| 66 | if (name.equalsIgnoreCase("raw")) return encodingRaw; |
| 67 | if (name.equalsIgnoreCase("copyRect")) return encodingCopyRect; |
| 68 | if (name.equalsIgnoreCase("RRE")) return encodingRRE; |
| 69 | if (name.equalsIgnoreCase("coRRE")) return encodingCoRRE; |
| 70 | if (name.equalsIgnoreCase("hextile")) return encodingHextile; |
| 71 | if (name.equalsIgnoreCase("Tight")) return encodingTight; |
| 72 | if (name.equalsIgnoreCase("ZRLE")) return encodingZRLE; |
| 73 | return -1; |
| 74 | } |
| 75 | |
| 76 | public static String encodingName(int num) { |
| 77 | switch (num) { |
no outgoing calls
no test coverage detected