Package com.composum.sling.nodes.tools
Class RuntimeFileServlet.RuntimeFile
- java.lang.Object
-
- com.composum.sling.nodes.tools.RuntimeFileServlet.RuntimeFile
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RuntimeFileServlet
public static class RuntimeFileServlet.RuntimeFile extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuntimeFile(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull File
getFile()
@Nullable org.apache.tika.mime.MimeType
getMimeType()
@NotNull String
getName()
@NotNull String
getPath()
@Nullable String
getUri()
boolean
isLog()
boolean
isText()
-
-
-
Constructor Detail
-
RuntimeFile
public RuntimeFile(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull File file)
-
-
Method Detail
-
getFile
@NotNull public @NotNull File getFile()
-
getName
@NotNull public @NotNull String getName()
-
getPath
@NotNull public @NotNull String getPath()
-
getUri
@Nullable public @Nullable String getUri()
-
getMimeType
@Nullable public @Nullable org.apache.tika.mime.MimeType getMimeType()
-
isText
public boolean isText()
-
isLog
public boolean isLog()
-
-