Class InMemoryFile<T>
- java.lang.Object
-
- io.nuun.kernel.core.internal.scanner.inmemory.InMemoryFile<T>
-
- All Implemented Interfaces:
org.reflections.vfs.Vfs.File
- Direct Known Subclasses:
InMemoryClass,InMemoryResource
public abstract class InMemoryFile<T> extends Object implements org.reflections.vfs.Vfs.File
- Author:
- epo.jemba@kametic.com
-
-
Constructor Summary
Constructors Constructor Description InMemoryFile(T content)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TgetContent()abstract StringgetName()abstract StringgetRelativePath()InputStreamopenInputStream()
-
-
-
Field Detail
-
content
protected T content
-
-
Constructor Detail
-
InMemoryFile
public InMemoryFile(T content)
-
-
Method Detail
-
getName
public abstract String getName()
- Specified by:
getNamein interfaceorg.reflections.vfs.Vfs.File
-
getRelativePath
public abstract String getRelativePath()
- Specified by:
getRelativePathin interfaceorg.reflections.vfs.Vfs.File
-
openInputStream
public InputStream openInputStream() throws IOException
- Specified by:
openInputStreamin interfaceorg.reflections.vfs.Vfs.File- Throws:
IOException
-
getContent
public T getContent()
-
-