public class StaticInfoFile extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StaticInfoFile.StaticFileSort |
static class |
StaticInfoFile.StaticFileSortByAccess |
static class |
StaticInfoFile.StaticFileSortByPopularity |
static class |
StaticInfoFile.StaticSort |
Modifier and Type | Field and Description |
---|---|
static String |
_STATIC_INFO_DIR |
static int |
ACCES_DAYS |
protected Map<String,Object> |
cache |
protected static Logger |
logger
create a static logger.
|
protected static Logger logger
public static final String _STATIC_INFO_DIR
public static final int ACCES_DAYS
protected static File getPropertiesFileNameFromResourceFile(ContentContext ctx, File file)
public static StaticInfoFile getInstance(ContentContext ctx, File file) throws Exception
Exception
public static StaticInfoFile getInstance(ContentContext ctx, String inStaticURL) throws Exception
Exception
public String getFullDescription(ContentContext ctx)
public String getFullDescription(ContentContext ctx, boolean showTitle)
public String getManualDescription(ContentContext ctx)
public String getDescription(ContentContext ctx)
protected void save()
public void setDescription(ContentContext ctx, String description)
public String getManualLocation(ContentContext ctx)
public String getLocation(ContentContext ctx)
public void setLocation(ContentContext ctx, String location)
public String getTitle(ContentContext ctx)
public String getManualTitle(ContentContext ctx)
public void setTitle(ContentContext ctx, String title)
public Date getManualDate()
public Date getDate(ContentContext ctx)
public void setDate(Date date)
public String getResource()
public void setResource(String resource)
public void setEmptyDate()
public boolean isEmptyDate()
public long getSize()
public String getLinkedPageId()
public void setLinkedPageId(String pageId)
public String getStaticURL()
public Collection<MenuElement> getContainers()
public void setContainers(Collection<MenuElement> containers)
public int getFocusZoneX()
public int getFocusZoneY()
public boolean isShared()
public void setShared(boolean shared)
public void setFocusZoneX(int focusZoneX)
public void setFocusZoneY(int focusZoneY)
public void setLinkedPage(String linkedPage)
public MenuElement getLinkedPage(ContentContext ctx)
public Date getLinkedDate(ContentContext ctx)
public void setLinkedDate(Date linkedDate)
public String getLinkedTitle(ContentContext ctx)
public void setLinkedTitle(String linkedTitle)
public String getLinkedDescription(ContentContext ctx)
public void setLinkedDescription(String linkedDescription)
public void setLinkedLocation(String linkedLocation)
public String getLinkedLocation(ContentContext ctx)
public boolean isPertinent(ContentContext ctx)
public boolean delete()
public void setFile(File file)
public File getFile()
public long getCRC32()
public void renameFile(ContentContext ctx, File newFile)
public int getAccessFromSomeDays(ContentContext ctx) throws Exception
Exception
public static void main(String[] args)
public int getAccess(Date date)
public void addAccess()
Copyright © 2012-2018. All Rights Reserved.