Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.vfs.provider
Interface FileNameParser

All Known Implementing Classes:
  AbstractFileNameParser

public interface FileNameParser

Provides methods to parse a filename into a `FileName`

Method Summary
`boolean` | `encodeCharacter(char ch)` Check if a character needs encoding (%nn)
`FileName` | `parseUri(VfsComponentContext context, FileName base, String filename)` parses a String into a filename

Method Detail

### encodeCharacter

    public boolean encodeCharacter(char ch)

  Check if a character needs encoding (%nn)

  Parameters:
    `ch` - the character
  Returns:
    true if character should be encoded

### parseUri

    public FileName parseUri(VfsComponentContext context,
                             FileName base,
                             String filename)
                      throws FileSystemException

  parses a String into a filename

  Parameters:
    `base` -
    `filename` -
  Throws:
    `FileSystemException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.