/*
- * todesbaum-lib -
- * Copyright (C) 2006 David Roden
+ * jSite - FileEntry.java - Copyright © 2006–2012 David Roden
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* Abstract base class of file entries that are used in the
* {@link de.todesbaum.util.freenet.fcp2.ClientPutComplexDir} command to define
* the files of an insert.
- *
+ *
* @author David Roden <droden@gmail.com>
- * @version $Id: FileEntry.java 413 2006-03-29 12:22:31Z bombe $
+ * @version $Id$
*/
public abstract class FileEntry {
* Creates a new file entry with the specified name and content type. The
* content type should be a standard MIME type with an additional charset
* specification for text-based types.
- *
+ *
* @param filename
* The name of the file
* @param contentType
* <code>disk</code>, or <code>redirect</code>. This method is
* implemented by the subclasses {@link DirectFileEntry},
* {@link DiskFileEntry}, and {@link RedirectFileEntry}, respectively.
- *
+ *
* @return The name of this entry's type
*/
public abstract String getName();
/**
* Returns the content type of this file.
- *
+ *
* @return The content type of this file
*/
public String getContentType() {
/**
* Returns the name of this file.
- *
+ *
* @return The name of this file
*/
public String getFilename() {