Class GlyphDetail
- java.lang.Object
-
- org.apache.pdfbox.preflight.font.util.GlyphDetail
-
public class GlyphDetail extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private intcodeprivate GlyphExceptionexception
-
Constructor Summary
Constructors Constructor Description GlyphDetail(int code)GlyphDetail(int code, GlyphException error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()Returns the character code.voidthrowExceptionIfNotValid()
-
-
-
Field Detail
-
code
private final int code
-
exception
private final GlyphException exception
-
-
Constructor Detail
-
GlyphDetail
public GlyphDetail(int code)
- Parameters:
code- character code
-
GlyphDetail
public GlyphDetail(int code, GlyphException error)- Parameters:
code- character codeerror- glyph exception
-
-
Method Detail
-
throwExceptionIfNotValid
public void throwExceptionIfNotValid() throws GlyphException- Throws:
GlyphException
-
getCode
public int getCode()
Returns the character code.
-
-