org.yestech.publish.objectmodel.IFileArtifactMetaData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yespublish Show documentation
Show all versions of yespublish Show documentation
Framework to publish ascii or binary data
to different sources. Currently Episodic, Bitgravity, Local, Cloudfs,
and S3 are supported
/*
* Copyright LGPL3
* YES Technology Association
* http://yestech.org
*
* http://www.opensource.org/licenses/lgpl-3.0.html
*/
/*
*
* Author: Artie Copeland
* Last Modified Date: $DateTime: $
*/
package org.yestech.publish.objectmodel;
import org.yestech.lib.util.Pair;
/**
* @author Artie Copeland
* @version $Revision: $
*/
public interface IFileArtifactMetaData extends IArtifactMetaData {
String getMimeType();
void setMimeType(String mimeType);
String getFileName();
void setFileName(String fileName);
long getSize();
void setSize(long size);
void setLocation(String location);
String getLocation();
/**
* Returns the Path, FileName pair
*
* @return the pair
*/
Pair getUniqueNames();
/**
* Sets the Path, FileName pair
*
* @param uniqueNames first val - path, second val - filename
*/
void setUniqueNames(Pair uniqueNames);
}