Example usage for org.apache.commons.vfs2.provider AbstractFileName getURI

List of usage examples for org.apache.commons.vfs2.provider AbstractFileName getURI

Introduction

In this page you can find the example usage for org.apache.commons.vfs2.provider AbstractFileName getURI.

Prototype

public String getURI() 

Source Link

Document

Returns the absolute URI of the file.

Usage

From source file:org.wso2.carbon.inbound.endpoint.protocol.file.MockFileSystem.java

protected FileObject createFile(AbstractFileName name) throws FileSystemException {
    MockFile file = new MockFile(name, this);
    MockFileHolder.getInstance().addFile(name.getURI().split("\\?")[0], file);
    return file;/*from ww w .j  a  va  2  s.  c o m*/
}