Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.editors.text
Interface IStorageDocumentProvider

All Known Implementing Classes:
FileDocumentProvider, ForwardingDocumentProvider, StorageDocumentProvider, TextFileDocumentProvider, TextFileDocumentProvider.NullProvider

public interface IStorageDocumentProvider

Document provider for IStorage based domain elements. Basically incorporates the concept of character encoding.

Since:
2.0

Method Summary
  String getDefaultEncoding ()
          Returns the default character encoding used by this provider.
  String getEncoding ( Object element)
          Returns the character encoding for the given element, or null if the element is not managed by this provider.
 void setEncoding ( Object element, String encoding)
          Sets the encoding for the given element.
 

Method Detail

getDefaultEncoding


String getDefaultEncoding()
Returns the default character encoding used by this provider.

Returns:
the default character encoding used by this provider

getEncoding


String getEncoding(
Object element)
Returns the character encoding for the given element, or null if the element is not managed by this provider.

Parameters:
element - the element
Returns:
the encoding for the given element

setEncoding

void setEncoding(
Object element,
                 
String encoding)
Sets the encoding for the given element. If encoding is null the workbench's character encoding should be used.

Parameters:
element - the element
encoding - the encoding to be used

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire