All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.featherfly.common.storage.ProjectModuleDateLocalDirStorage Maven / Gradle / Ivy

The newest version!

package cn.featherfly.common.storage;

import cn.featherfly.common.lang.UriUtils;

/**
 * 

* 日期格式目录存储 *

*

* copyright featherfly 2010-2020, all rights reserved. *

* * @param 存储的对象类型 * @author zhongj */ public abstract class ProjectModuleDateLocalDirStorage extends DateLocalDirStorage{ /** */ public ProjectModuleDateLocalDirStorage() { } /** * {@inheritDoc} */ @Override public String getRelativeDir() { String relative = super.getRelativeDir(); if (relative == null) { relative = ""; } if (project == null) { project = ""; } if (module == null) { module = ""; } return UriUtils.linkUri(project, relative, module); } // ******************************************************************** // // ******************************************************************** private String project; private String module; /** * 返回project * @return project */ public String getProject() { return project; } /** * 设置project * @param project project */ public void setProject(String project) { this.project = project; } /** * 返回module * @return module */ public String getModule() { return module; } /** * 设置module * @param module module */ public void setModule(String module) { this.module = module; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy