Class StringCharset

java.lang.Object
overrun.marshal.internal.StringCharset

public final class StringCharset extends Object
String charsets
Since:
0.1.0
Author:
squid233
  • Method Details

    • hasCharset

      public static boolean hasCharset(StrCharset strCharset)
      Checks the given annotation
      Parameters:
      strCharset - strCharset
      Returns:
      true if strCharset is not null and has value
    • getCharset

      public static String getCharset(AnnotatedElement element)
      Gets the charset from the given element
      Parameters:
      element - element
      Returns:
      the charset