Package org.fenixedu.cms.domain
Class CMSThemeFiles
- java.lang.Object
-
- org.fenixedu.cms.domain.CMSThemeFiles
-
public class CMSThemeFiles extends Object
-
-
Constructor Summary
Constructors Constructor Description CMSThemeFiles(byte[] bytes)CMSThemeFiles(Map<String,CMSThemeFile> files)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanchecksumMatches(CMSThemeFiles files)byte[]externalize()StringgetChecksum()CMSThemeFilegetFileForPath(String path)Collection<CMSThemeFile>getFiles()longgetTotalSize()com.google.gson.JsonArraytoJson()CMSThemeFileswith(CMSThemeFile file)CMSThemeFileswithout(String path)CMSThemeFileswithout(String[] paths)
-
-
-
Constructor Detail
-
CMSThemeFiles
public CMSThemeFiles(Map<String,CMSThemeFile> files)
-
CMSThemeFiles
public CMSThemeFiles(byte[] bytes)
-
-
Method Detail
-
getFileForPath
public CMSThemeFile getFileForPath(String path)
-
getFiles
public Collection<CMSThemeFile> getFiles()
-
toJson
public com.google.gson.JsonArray toJson()
-
externalize
public byte[] externalize()
-
with
public CMSThemeFiles with(CMSThemeFile file)
-
without
public CMSThemeFiles without(String path)
-
without
public CMSThemeFiles without(String[] paths)
-
getTotalSize
public long getTotalSize()
-
checksumMatches
public boolean checksumMatches(CMSThemeFiles files)
-
getChecksum
public String getChecksum()
-
-