Java Code Examples for org.apache.commons.vfs2.Capability#READ_CONTENT

The following examples show how to use org.apache.commons.vfs2.Capability#READ_CONTENT . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: VfsClassLoaderTests.java    From commons-vfs with Apache License 2.0 4 votes vote down vote up
/**
 * Returns the capabilities required by the tests of this test case.
 */
@Override
protected Capability[] getRequiredCaps() {
    return new Capability[] { Capability.READ_CONTENT, Capability.URI };
}
 
Example 2
Source File: PermissionsTests.java    From commons-vfs with Apache License 2.0 4 votes vote down vote up
/**
 * Returns the capabilities required by the tests of this test case.
 */
@Override
protected Capability[] getRequiredCaps() {
    return new Capability[] { Capability.CREATE, Capability.DELETE, Capability.READ_CONTENT,
            Capability.WRITE_CONTENT, };
}
 
Example 3
Source File: ProviderReadTests.java    From commons-vfs with Apache License 2.0 4 votes vote down vote up
/**
 * Returns the capabilities required by the tests of this test case.
 */
@Override
protected Capability[] getRequiredCaps() {
    return new Capability[] { Capability.GET_TYPE, Capability.LIST_CHILDREN, Capability.READ_CONTENT };
}
 
Example 4
Source File: ProviderWriteTests.java    From commons-vfs with Apache License 2.0 4 votes vote down vote up
/**
 * Returns the capabilities required by the tests of this test case.
 */
@Override
protected Capability[] getRequiredCaps() {
    return new Capability[] { Capability.CREATE, Capability.DELETE, Capability.GET_TYPE, Capability.LIST_CHILDREN,
            Capability.READ_CONTENT, Capability.WRITE_CONTENT };
}
 
Example 5
Source File: ProviderWriteAppendTests.java    From commons-vfs with Apache License 2.0 4 votes vote down vote up
/**
 * Returns the capabilities required by the tests of this test case.
 */
@Override
protected Capability[] getRequiredCaps() {
    return new Capability[] { Capability.CREATE, Capability.DELETE, Capability.GET_TYPE, Capability.LIST_CHILDREN,
            Capability.READ_CONTENT, Capability.WRITE_CONTENT, Capability.APPEND_CONTENT };
}
 
Example 6
Source File: ProviderRenameTests.java    From commons-vfs with Apache License 2.0 4 votes vote down vote up
/**
 * Returns the capabilities required by the tests of this test case.
 */
@Override
protected Capability[] getRequiredCaps() {
    return new Capability[] { Capability.CREATE, Capability.DELETE, Capability.GET_TYPE, Capability.LIST_CHILDREN,
            Capability.READ_CONTENT, Capability.WRITE_CONTENT, Capability.RENAME };
}