public class CSBaseProjectFile extends Object implements ibase.rest.api.project.v1.adapter.ProjectFile
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean force) |
boolean |
containsChild(String fileName) |
ibase.rest.api.project.v1.adapter.ProjectFile |
createFile(String fileName,
Locale locale) |
ibase.rest.api.project.v1.adapter.ProjectFile |
getChild(String fileName) |
ibase.rest.api.project.v1.adapter.ProjectFile[] |
getChildren(boolean showHiddenFiles) |
Long |
getCreationDate() |
String |
getDescription() |
String |
getId() |
InputStream |
getInputStream() |
String |
getMimeType() |
Long |
getModificationDate() |
String |
getName() |
int |
getNumberOfChildren(boolean showHiddenFiles) |
OutputStream |
getOutputStream() |
String |
getParentId() |
Boolean |
isDirectory() |
Boolean |
isUnderConstruction() |
void |
open(boolean readOnly) |
void |
remove() |
void |
rename(String fileName) |
long |
size() |
String |
whoCreated() |
void |
write(byte[] array,
int i,
int chunck_size,
Long rangeStart) |
public String getId()
getId in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic String getParentId()
getParentId in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic String whoCreated()
whoCreated in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic Long getCreationDate()
getCreationDate in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic String getDescription()
getDescription in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic Boolean isDirectory()
isDirectory in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic String getName()
getName in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic Boolean isUnderConstruction()
isUnderConstruction in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic Long getModificationDate()
getModificationDate in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic int getNumberOfChildren(boolean showHiddenFiles)
getNumberOfChildren in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic String getMimeType()
getMimeType in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic ibase.rest.api.project.v1.adapter.ProjectFile[] getChildren(boolean showHiddenFiles)
getChildren in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic InputStream getInputStream() throws IOException
getInputStream in interface ibase.rest.api.project.v1.adapter.ProjectFileIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface ibase.rest.api.project.v1.adapter.ProjectFileIOExceptionpublic ibase.rest.api.project.v1.adapter.ProjectFile getChild(String fileName)
getChild in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic boolean containsChild(String fileName)
containsChild in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic ibase.rest.api.project.v1.adapter.ProjectFile createFile(String fileName, Locale locale)
createFile in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic void open(boolean readOnly)
open in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic void write(byte[] array,
int i,
int chunck_size,
Long rangeStart)
throws IOException
write in interface ibase.rest.api.project.v1.adapter.ProjectFileIOExceptionpublic void rename(String fileName)
rename in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic void remove()
remove in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic long size()
size in interface ibase.rest.api.project.v1.adapter.ProjectFilepublic void close(boolean force)
throws IOException
close in interface ibase.rest.api.project.v1.adapter.ProjectFileIOExceptionCopyright © 2017. All rights reserved.