/******************************************************************************* * Copyright (c) 2004, 2008 Tasktop Technologies and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * 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(); }