@Override
    public FatLfnDirectoryEntry getEntry(String name) {
        name = name.trim().toLowerCase(Locale.ROOT);
        
        final FatLfnDirectoryEntry entry = longNameIndex.get(name);
        
        if (entry == null) {
            if (!ShortName.canConvert(name)) return null;
            return shortNameIndex.get(ShortName.get(name));
        } else {
            return entry;
        }
    }
@ Override public FatLfnDirectoryEntry getEntry ( String name ) { name = name . trim ( ) . toLowerCase ( Locale . ROOT ) ; final FatLfnDirectoryEntry entry = longNameIndex . get ( name ) ; if ( entry == null ) { if ( ! ShortName . canConvert ( name ) ) return null ; return shortNameIndex . get ( ShortName . get ( name ) ) ; } else { return entry ; } }
<p>
{@inheritDoc}
</p><p>
According to the FAT file system specification, leading and trailing
spaces in the {@code name} are ignored by this method.
</p>

@param name {@inheritDoc}
@return {@inheritDoc}