Index

C D E F G H I J P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

C

CdnData - Class in com.aoapps.cdn.data
Currently implemented directly in the filesystem, leveraging Csync2 in multi-master mode for replication.
CdnData(Path, String, boolean) - Constructor for class com.aoapps.cdn.data.CdnData
Creates a new CDN data accessor.
com.aoapps.cdn.data - module com.aoapps.cdn.data
 
com.aoapps.cdn.data - package com.aoapps.cdn.data
 
ContentType - Enum in com.aoapps.cdn.data
Only a specific set of content types are supported by the CDN.
createUploadFile(ContentType) - Method in class com.aoapps.cdn.data.Uploads
Creates a new upload file, which will be empty.

D

DimensionVersion - Class in com.aoapps.cdn.data
A version of a resource that has a dimension.

E

equals(Object) - Method in class com.aoapps.cdn.data.Resource
 
equals(Object) - Method in class com.aoapps.cdn.data.Version
 
EXTENSION_SEPARATOR - Static variable in class com.aoapps.cdn.data.CdnData
The separator character to go between the resource or filename and the extension.

F

findOrAdd(UploadFile) - Method in class com.aoapps.cdn.data.CdnData
Stores a new file in CDN data.
fsck() - Method in class com.aoapps.cdn.data.CdnData
Performs a non-startup fsck of this CDN data.
FsckIssue - Class in com.aoapps.cdn.data
An issue associated with one path from CdnData.fsck().

G

getCdnData() - Method in class com.aoapps.cdn.data.Resource
Gets the CDN this resource is part of.
getCdnData() - Method in class com.aoapps.cdn.data.UploadFile
Gets the CDN this upload file is for.
getContentType() - Method in class com.aoapps.cdn.data.UploadFile
Gets the content type for this upload file.
getContentType() - Method in class com.aoapps.cdn.data.Version
 
getContentTypeForExtension(String) - Static method in enum com.aoapps.cdn.data.ContentType
Gets the content type from its extension, case-sensitive.
getContentTypeForMimeType(String) - Static method in enum com.aoapps.cdn.data.ContentType
Gets the content type from its content type, case-insensitive, matching up to first ';', and trimmed.
getDimension() - Method in class com.aoapps.cdn.data.DimensionVersion
Gets the dimension in pixels.
getExtension() - Method in enum com.aoapps.cdn.data.ContentType
Each content type is represented by a distinct file extension.
getHeight() - Method in class com.aoapps.cdn.data.DimensionVersion
Gets the height in pixels.
getId() - Method in class com.aoapps.cdn.data.Resource
Gets the unique identifier for this resource.
getLevel() - Method in class com.aoapps.cdn.data.FsckIssue
 
getMessage() - Method in class com.aoapps.cdn.data.FsckIssue
 
getMimeType() - Method in enum com.aoapps.cdn.data.ContentType
Gets the distinct MIME content type.
getOriginal() - Method in class com.aoapps.cdn.data.Resource
Gets the original version of this resource by following the original symlink and parsing the filename.
getOriginalContentType() - Method in class com.aoapps.cdn.data.Resource
Determines the original content type by looking for the "original.(extension)" entry.
getResource() - Method in class com.aoapps.cdn.data.Version
 
getResource(SmallIdentifier) - Method in class com.aoapps.cdn.data.Resources
Gets a resource given its unique identifier or Optional.empty() when resource not found.
getResources() - Method in class com.aoapps.cdn.data.CdnData
Gets the resources handler for this CDN.
getTempFile() - Method in class com.aoapps.cdn.data.UploadFile
Gets the temp file, which will be null (and previous underlying file will not exist) once added.
getThrown() - Method in class com.aoapps.cdn.data.FsckIssue
 
getUploads() - Method in class com.aoapps.cdn.data.CdnData
Gets the uploads handler for this CDN.
getVersions() - Method in class com.aoapps.cdn.data.Resource
Gets all versions of this resource.
getVersions(ContentType) - Method in class com.aoapps.cdn.data.Resource
Gets all versions of this resource, optionally filtered by content type.
getWidth() - Method in class com.aoapps.cdn.data.DimensionVersion
Gets the width in pixels.
GIF - Enum constant in enum com.aoapps.cdn.data.ContentType
 

H

hashCode() - Method in class com.aoapps.cdn.data.Resource
 
hashCode() - Method in class com.aoapps.cdn.data.Version
 

I

ImageVersion - Class in com.aoapps.cdn.data
A version of a resource that contains an Image.
iterator() - Method in class com.aoapps.cdn.data.Resources
Iterates all of the resources.

J

JPEG - Enum constant in enum com.aoapps.cdn.data.ContentType
 

P

PNG - Enum constant in enum com.aoapps.cdn.data.ContentType
 

R

Resource - Class in com.aoapps.cdn.data
A resource has both the originally uploaded content as well as any number of derived versions.
Resources - Class in com.aoapps.cdn.data
Manages access through the resources hash directories.

S

scale(Integer, Integer) - Method in class com.aoapps.cdn.data.DimensionVersion
Scales this version to a different resolution, using cached version if previously scaled.
scale(Integer, Integer) - Method in class com.aoapps.cdn.data.ImageVersion
 

T

toString() - Method in class com.aoapps.cdn.data.CdnData
 
toString() - Method in class com.aoapps.cdn.data.FsckIssue
 
toString() - Method in class com.aoapps.cdn.data.Resource
 
toString() - Method in class com.aoapps.cdn.data.Resources
 
toString() - Method in class com.aoapps.cdn.data.Uploads
 
toString() - Method in class com.aoapps.cdn.data.Version
 

U

UploadFile - Class in com.aoapps.cdn.data
A file that is being uploaded, and may be partial/incomplete.
Uploads - Class in com.aoapps.cdn.data
Manages access to the uploads directory.

V

valueOf(String) - Static method in enum com.aoapps.cdn.data.ContentType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.aoapps.cdn.data.ContentType
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in com.aoapps.cdn.data
One version of a resource.
C D E F G H I J P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values