blob: c7947237a65de0a212e86fbbf1052729c329e65e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2008 Tasktop Technologies and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Tasktop Technologies - initial API and implementation
*******************************************************************************/
package org.eclipse.mylyn.tasks.core.data;
import java.io.InputStream;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
/**
* Clients may subclass.
*
* @author Steffen Pingel
* @since 3.0
*/
public abstract class AbstractTaskAttachmentSource {
public abstract InputStream createInputStream(IProgressMonitor monitor) throws CoreException;
public abstract boolean isLocal();
public abstract long getLength();
public abstract String getName();
public abstract String getContentType();
public abstract String getDescription();
}