-//
-// This software is now distributed according to
-// the Lesser Gnu Public License. Please see
-// http://www.gnu.org/copyleft/lesser.txt for
-// the details.
-// -- Happy Computing!
-//
-package com.stevesoft.pat;
-
-/**
- * Get Unicode properties for a character. See <a
- * href="http://unicode.org">http://unicode.org</a>.
- */
-public class Prop
-{
- /** Is this a "Decimal Digit" according to Unicode? */
- public final static boolean isDecimalDigit(char c)
- {
- if (Bits.decimal_digit == null)
- {
- Bits.decimal_digit_f();
- }
- return Bits.decimal_digit.get(c);
- }
-
- /** Is this a "Alphabetic" according to Unicode? */
- public final static boolean isAlphabetic(char c)
- {
- if (Bits.letter == null)
- {
- Bits.letter_f();
- }
- return Bits.letter.get(c);
- }
-
- /** Is this a "Math" according to Unicode? */
- public final static boolean isMath(char c)
- {
- if (Bits.math == null)
- {
- Bits.math_f();
- }
- return Bits.math.get(c);
- }
-
- /** Is this a "Currency" according to Unicode? */
- public final static boolean isCurrency(char c)
- {
- if (Bits.currency == null)
- {
- Bits.currency_f();
- }
- return Bits.currency.get(c);
- }
-
- /** Is c a white space character according to Unicode? */
- public final static boolean isWhite(char c)
- {
- if (Bits.white == null)
- {
- Bits.white_f();
- }
- return Bits.white.get(c);
- }
-
- /** Is c a punctuation character according to Unicode? */
- public final static boolean isPunct(char c)
- {
- if (Bits.punct == null)
- {
- Bits.punct_f();
- }
- return Bits.punct.get(c);
- }
-}
+//\r
+// This software is now distributed according to\r
+// the Lesser Gnu Public License. Please see\r
+// http://www.gnu.org/copyleft/lesser.txt for\r
+// the details.\r
+// -- Happy Computing!\r
+//\r
+package com.stevesoft.pat;\r
+\r
+/**\r
+ * Get Unicode properties for a character. See <a\r
+ * href="http://unicode.org">http://unicode.org</a>.\r
+ */\r
+public class Prop\r
+{\r
+ /** Is this a "Decimal Digit" according to Unicode? */\r
+ public final static boolean isDecimalDigit(char c)\r
+ {\r
+ if (Bits.decimal_digit == null)\r
+ {\r
+ Bits.decimal_digit_f();\r
+ }\r
+ return Bits.decimal_digit.get(c);\r
+ }\r
+\r
+ /** Is this a "Alphabetic" according to Unicode? */\r
+ public final static boolean isAlphabetic(char c)\r
+ {\r
+ if (Bits.letter == null)\r
+ {\r
+ Bits.letter_f();\r
+ }\r
+ return Bits.letter.get(c);\r
+ }\r
+\r
+ /** Is this a "Math" according to Unicode? */\r
+ public final static boolean isMath(char c)\r
+ {\r
+ if (Bits.math == null)\r
+ {\r
+ Bits.math_f();\r
+ }\r
+ return Bits.math.get(c);\r
+ }\r
+\r
+ /** Is this a "Currency" according to Unicode? */\r
+ public final static boolean isCurrency(char c)\r
+ {\r
+ if (Bits.currency == null)\r
+ {\r
+ Bits.currency_f();\r
+ }\r
+ return Bits.currency.get(c);\r
+ }\r
+\r
+ /** Is c a white space character according to Unicode? */\r
+ public final static boolean isWhite(char c)\r
+ {\r
+ if (Bits.white == null)\r
+ {\r
+ Bits.white_f();\r
+ }\r
+ return Bits.white.get(c);\r
+ }\r
+\r
+ /** Is c a punctuation character according to Unicode? */\r
+ public final static boolean isPunct(char c)\r
+ {\r
+ if (Bits.punct == null)\r
+ {\r
+ Bits.punct_f();\r
+ }\r
+ return Bits.punct.get(c);\r
+ }\r
+}\r