Uses of Class
edu.cornell.mannlib.vitro.webapp.filestorage.model.FileInfo
-
Packages that use FileInfo Package Description edu.cornell.mannlib.vitro.webapp.filestorage edu.cornell.mannlib.vitro.webapp.filestorage.model -
-
Uses of FileInfo in edu.cornell.mannlib.vitro.webapp.filestorage
Methods in edu.cornell.mannlib.vitro.webapp.filestorage that return FileInfo Modifier and Type Method Description FileInfoUploadedFileHelper. createFile(String filename, String mimeType, InputStream inputStream)We have a filename, a mimetype, and some content.static FileInfoTempFileHolder. remove(javax.servlet.http.HttpSession session, String attributeName)Get the which is stored as an attribute on this session, extract theFileInfofrom it, and remove it from the session.Methods in edu.cornell.mannlib.vitro.webapp.filestorage with parameters of type FileInfo Modifier and Type Method Description static voidTempFileHolder. attach(javax.servlet.http.HttpSession session, String attributeName, FileInfo fileInfo)Create a holding the givenFileInfo, and attach it to the session with the given attribute name.voidUploadedFileHelper. attachFileToSubject(FileInfo fileInfo, String subjectUri, String predicateUri)voidUploadedFileHelper. setImagesOnEntity(String entityUri, FileInfo mainInfo, FileInfo thumbInfo)Record this image file and thumbnail on this entity.voidUploadedFileHelper. setPublicFileName(FileInfo fileInfo, String uploadedFileName) -
Uses of FileInfo in edu.cornell.mannlib.vitro.webapp.filestorage.model
Methods in edu.cornell.mannlib.vitro.webapp.filestorage.model that return FileInfo Modifier and Type Method Description FileInfoFileInfo.Builder. build()FileInfoImageInfo. getMainImage()FileInfoImageInfo. getThumbnail()static FileInfoFileInfo. instanceFromAliasUrl(WebappDaoFactory webappDaoFactory, String path, javax.servlet.ServletContext ctx)If this request URL represents a BytestreamAliasURL, find the bytestream URI, find the surrogate, and get the info.static FileInfoFileInfo. instanceFromBytestreamUri(WebappDaoFactory webappDaoFactory, String bytestreamUri)If this URI represents a file bytestream, find its surrogate and get its info.static FileInfoFileInfo. instanceFromSurrogateUri(WebappDaoFactory webappDaoFactory, String uri)If this URI represents a file surrogate, get its info.Constructors in edu.cornell.mannlib.vitro.webapp.filestorage.model with parameters of type FileInfo Constructor Description ImageInfo(FileInfo mainImage, FileInfo thumbnail)
-