core/src/main/java/org/apache/commons/vfs2/provider/LayeredFileNameParser.java
/**
     * Determines if a character should be encoded.
     * @param ch The character to check.
     * @return true if the character should be encoded.
     */
Determines if a character should be encoded.
@param ch The character to check.
@return true if the character should be encoded.
Determines if a character should be encoded . @param ch The character to check . @return true if the character should be encoded .
@Override
    public boolean encodeCharacter(char ch)
    {
        return super.encodeCharacter(ch) || ch == '!';
    }
@ Override public boolean encodeCharacter ( char ch ) { return super . encodeCharacter ( ch ) || ch == '!' ; }
Determines if a character should be encoded.
Determines if a character should be encoded .