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

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.ltk.core.refactoring
Class ContentStamp

java.lang.Object
  extended by 
org.eclipse.ltk.core.refactoring.ContentStamp

public abstract class ContentStamp
extends Object

A content stamp object represent the content of an IFile. A content stamp object is updated whenever the content of a file changes. In contrast to a time stamp a content stamp is reverted to its previous value if the content of the file is reverted back by performing a corresponding undo change.

Clients of the refactoring framework don't need to take care of content stamps. They are managed by the framework itself.

In version 3.0 not all files in the workspace are annotated with a content stamp. The refactoring framework only adds content stamp to those files where necessary. As of version 3.1 the content stamps are mapped to the resource's modification stamp.

Content stamp are to be compared using the equals(Object) method. It is not guaranteed that content stamps are identical for identical files.

This class is not intended to be extended by clients.

Since:
3.0
Restriction:
This class is not intended to be subclassed by clients.

Constructor Summary
ContentStamp ()
           
 
Method Summary
abstract  boolean isNullStamp ()
          Checks whether the stamp is the null stamp or not.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentStamp

public ContentStamp()
Method Detail

isNullStamp

public abstract boolean isNullStamp()
Checks whether the stamp is the null stamp or not. A null stamp is generated for files which either don't exist or exist in a closed project.

Returns:
whether the stamp is the null stamp or not.

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