org.robolectric.res.FsFile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robolectric-resources Show documentation
Show all versions of robolectric-resources Show documentation
An alternative Android testing framework.
package org.robolectric.res;
import org.jetbrains.annotations.NotNull;
import java.io.IOException;
import java.io.InputStream;
public interface FsFile {
boolean exists();
boolean isDirectory();
boolean isFile();
FsFile[] listFiles();
FsFile[] listFiles(Filter filter);
String[] listFileNames();
FsFile getParent();
String getName();
InputStream getInputStream() throws IOException;
byte[] getBytes() throws IOException;
FsFile join(String... pathParts);
@Override String toString();
@Override boolean equals(Object o);
@Override int hashCode();
String getBaseName();
String getPath();
public interface Filter {
boolean accept(@NotNull FsFile fsFile);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy