public boolean setEncoding ( String encoding ) { for ( Map . Entry < Byte , String > entry : CODE_PAGE_ENCODING . entrySet ( ) ) { if ( entry . getValue ( ) . equalsIgnoreCase ( encoding ) ) { this . fileEncoding = entry . getValue ( ) ; return true ; } } return false ; }
Set file encoding