OSDN Git Service

20170617
[rapideact/rapideact.git] / com / rapide_act / CmnUtils.java
index 4734afc..3d82ad7 100644 (file)
@@ -598,7 +598,18 @@ public class CmnUtils{
                        return false;
                }
        }
-       
+
+       protected static boolean isCharacterSet(String _str) throws Exception{
+               if(
+                       _str.toUpperCase().equals("CP932") ||
+                       _str.toUpperCase().equals("UTF8") ||
+                       _str.toUpperCase().equals("UJIS")){
+                       return true;
+               } else {
+                       return false;
+               }
+       }
+
        protected static String[] getSystemProperty(String _str) throws Exception{
                String [] retValue = null;
                if(System.getProperty(_str)!=null){