Example usage for org.apache.commons.vfs2 FileName getType

List of usage examples for org.apache.commons.vfs2 FileName getType

Introduction

In this page you can find the example usage for org.apache.commons.vfs2 FileName getType.

Prototype

FileType getType();

Source Link

Document

Returns the requested or current type of this name.

Usage

From source file:pl.otros.vfs.browser.FileNameWrapper.java

public FileNameWrapper(FileName fileName) {
    super(fileName.getScheme(), fileName.getPath(), fileName.getType());
    this.fileName = fileName;
}