@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class QiniuFile
extends jenkins.util.VirtualFile
Constructor and Description |
---|
QiniuFile(io.jenkins.plugins.QiniuFileSystem qiniuFileSystem,
String objectName) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRead() |
jenkins.util.VirtualFile |
child(String childName) |
boolean |
deleteRecursively() |
boolean |
exists() |
String |
getName() |
jenkins.util.VirtualFile |
getParent() |
Path |
getPath() |
boolean |
isDirectory() |
boolean |
isFile() |
long |
lastModified() |
long |
length() |
jenkins.util.VirtualFile[] |
list() |
InputStream |
open() |
URL |
toExternalURL() |
URI |
toURI() |
@Nonnull public URL toExternalURL() throws IOException
toExternalURL
in class jenkins.util.VirtualFile
IOException
@CheckForNull public jenkins.util.VirtualFile getParent()
getParent
in class jenkins.util.VirtualFile
public boolean isDirectory() throws IOException
isDirectory
in class jenkins.util.VirtualFile
IOException
public boolean isFile() throws IOException
isFile
in class jenkins.util.VirtualFile
IOException
public boolean exists() throws IOException
exists
in class jenkins.util.VirtualFile
IOException
@Nonnull public jenkins.util.VirtualFile[] list() throws IOException
list
in class jenkins.util.VirtualFile
IOException
public boolean deleteRecursively() throws IOException
IOException
@Nonnull public jenkins.util.VirtualFile child(@Nonnull String childName)
child
in class jenkins.util.VirtualFile
public long length() throws IOException
length
in class jenkins.util.VirtualFile
IOException
public long lastModified() throws IOException
lastModified
in class jenkins.util.VirtualFile
IOException
public boolean canRead() throws IOException
canRead
in class jenkins.util.VirtualFile
IOException
@Nonnull public InputStream open() throws IOException
open
in class jenkins.util.VirtualFile
IOException
Copyright © 2016–2024. All rights reserved.