Package com.mta.tehreer.sfnt
Class SfntTag
java.lang.Object
com.mta.tehreer.sfnt.SfntTag
Provides static utility methods related to SFNT tags.
-
Method Summary
-
Method Details
-
make
Makes a four-byte integer, representing the passed-in tag as a string.- Parameters:
tagStr
- The tag string to represent as an integer.- Returns:
- Integer representation of the tag.
- Throws:
IllegalArgumentException
- iftagStr
is not four characters long, or any character is not a printing character represented by ASCII values 32-126.
-
toString
Returns the string representation of a tag.- Parameters:
tag
- The tag.- Returns:
- The string representation of specified tag.
-