All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.enonic.xp.vfs.VirtualFile Maven / Gradle / Ivy

The newest version!
package com.enonic.xp.vfs;

import java.net.URL;
import java.util.List;

import com.google.common.io.ByteSource;
import com.google.common.io.CharSource;

import com.enonic.xp.annotation.PublicApi;

@PublicApi
public interface VirtualFile
{
    String getName();

    VirtualFilePath getPath();

    URL getUrl();

    boolean isFolder();

    boolean isFile();

    List getChildren();

    CharSource getCharSource();

    ByteSource getByteSource();

    boolean exists();

    VirtualFile resolve( VirtualFilePath path );
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy