public class EdidUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getDescriptorRangeLimits(byte[] desc)
Parse descriptor range limits
|
static byte[][] |
getDescriptors(byte[] edid)
Get the VESA descriptors
|
static String |
getDescriptorText(byte[] desc)
Parse descriptor text
|
static int |
getDescriptorType(byte[] desc)
Get the VESA descriptor type
|
static int |
getHcm(byte[] edid)
Get monitor width in cm
|
static String |
getManufacturerID(byte[] edid)
Gets the Manufacturer ID from (up to) 3 5-bit characters in bytes 8 and 9
|
static String |
getProductID(byte[] edid)
Gets the Product ID, bytes 10 and 11
|
static String |
getSerialNo(byte[] edid)
Gets the Serial number, bytes 12-15
|
static String |
getTimingDescriptor(byte[] desc)
Parse a detailed timing descriptor
|
static int |
getVcm(byte[] edid)
Get monitor height in cm
|
static String |
getVersion(byte[] edid)
Return the EDID version
|
static byte |
getWeek(byte[] edid)
Return the week of year of manufacture
|
static int |
getYear(byte[] edid)
Return the year of manufacture
|
static boolean |
isDigital(byte[] edid)
Test if this EDID is a digital monitor based on byte 20
|
static String |
toString(byte[] edid)
Parse an EDID byte array into user-readable information
|
public static String getManufacturerID(byte[] edid)
edid
- The EDID byte arraypublic static String getProductID(byte[] edid)
edid
- The EDID byte arraypublic static String getSerialNo(byte[] edid)
edid
- The EDID byte arraypublic static byte getWeek(byte[] edid)
edid
- The EDID byte arraypublic static int getYear(byte[] edid)
edid
- The EDID byte arraypublic static String getVersion(byte[] edid)
edid
- The EDID byte arraypublic static boolean isDigital(byte[] edid)
edid
- The EDID byte arraypublic static int getHcm(byte[] edid)
edid
- The EDID byte arraypublic static int getVcm(byte[] edid)
edid
- The EDID byte arraypublic static byte[][] getDescriptors(byte[] edid)
edid
- The EDID byte arraypublic static int getDescriptorType(byte[] desc)
desc
- An 18-byte VESA descriptorpublic static String getTimingDescriptor(byte[] desc)
desc
- An 18-byte VESA descriptorpublic static String getDescriptorRangeLimits(byte[] desc)
desc
- An 18-byte VESA descriptorpublic static String getDescriptorText(byte[] desc)
desc
- An 18-byte VESA descriptorpublic static String toString(byte[] edid)
edid
- An EDID byte arrayCopyright © 2010–2020 oshi. All rights reserved.