Package org.robolectric.shadows
Class ShadowPosix
- java.lang.Object
-
- org.robolectric.shadows.ShadowPosix
-
@Implements(className="libcore.io.Posix", maxSdk=25, isInAndroidSdk=false) public class ShadowPosix extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowPosix()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static Object
fstat(FileDescriptor fd)
protected static Object
lstat(String path)
static void
mkdir(String path, int mode)
static Object
stat(String path)
-
-
-
Method Detail
-
mkdir
@Implementation public static void mkdir(String path, int mode) throws ErrnoException
- Throws:
ErrnoException
-
stat
@Implementation public static Object stat(String path) throws ErrnoException
- Throws:
ErrnoException
-
lstat
@Implementation protected static Object lstat(String path) throws ErrnoException
- Throws:
ErrnoException
-
fstat
@Implementation protected static Object fstat(FileDescriptor fd) throws ErrnoException
- Throws:
ErrnoException
-
-