Package io.determann.shadow.impl.test
Class NonWritingFileObject
java.lang.Object
io.determann.shadow.impl.test.NonWritingFileObject
- All Implemented Interfaces:
FileObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandelete()getCharContent(boolean ignoreEncodingErrors) longgetName()openReader(boolean ignoreEncodingErrors) toUri()
-
Constructor Details
-
NonWritingFileObject
-
-
Method Details
-
toUri
- Specified by:
toUriin interfaceFileObject
-
getName
- Specified by:
getNamein interfaceFileObject
-
openInputStream
- Specified by:
openInputStreamin interfaceFileObject- Throws:
IOException
-
openOutputStream
- Specified by:
openOutputStreamin interfaceFileObject
-
openReader
- Specified by:
openReaderin interfaceFileObject- Throws:
IOException
-
getCharContent
- Specified by:
getCharContentin interfaceFileObject- Throws:
IOException
-
openWriter
- Specified by:
openWriterin interfaceFileObject
-
getLastModified
public long getLastModified()- Specified by:
getLastModifiedin interfaceFileObject
-
delete
public boolean delete()- Specified by:
deletein interfaceFileObject
-