diff options
Diffstat (limited to 'org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/IStorageDocumentProvider.java')
-rw-r--r-- | org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/IStorageDocumentProvider.java | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/IStorageDocumentProvider.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/IStorageDocumentProvider.java deleted file mode 100644 index 0c0303905a0..00000000000 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/IStorageDocumentProvider.java +++ /dev/null @@ -1,47 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.ui.editors.text; - - -/** - * Document provider for <code>IStorage</code> based domain elements. - * Basically incorporates the concept of character encoding. - * - * @since 2.0 - */ -public interface IStorageDocumentProvider { - - /** - * Returns the default character encoding used by this provider. - * - * @return the default character encoding used by this provider - */ - String getDefaultEncoding(); - - /** - * Returns the character encoding for the given element, or - * <code>null</code> if the element is not managed by this provider. - * - * @param element the element - * @return the encoding for the given element - */ - String getEncoding(Object element); - - /** - * Sets the encoding for the given element. If <code>encoding</code> - * is <code>null</code> the workbench's character encoding should be used. - * - * @param element the element - * @param encoding the encoding to be used - */ - void setEncoding(Object element, String encoding); -} |