diff options
Diffstat (limited to 'bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Range.java')
-rw-r--r-- | bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Range.java | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Range.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Range.java deleted file mode 100644 index 29224f4a9..000000000 --- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/env/core/common/Range.java +++ /dev/null @@ -1,62 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2005 IBM Corporation 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.command.internal.env.core.common; - -import org.eclipse.wst.common.environment.uri.IURI; - -/** - * Carries position information within a resource. - */ -public interface Range -{ - public static final int UNKNOWN = -1; - - /** - * Returns the identifier of the resource the range applies to. - */ - public IURI getURI (); - - /** - * Returns the index, zero-indexed, of the first line - * of the range. - */ - public int getStartingLineNumber (); - - /** - * Returns the index, zero-indexed, of the first character - * of the range relative to the beginning of the line. - */ - public int getStartingCharNumberInLine (); - - /** - * Returns the index, zero-indexed, of the first character - * of the range relative to the beginning of the file. - */ - public int getStartingCharNumberInURI (); - - /** - * Returns the index, zero-indexed, of the last line - * of the range. - */ - public int getEndingLineNumber (); - - /** - * Returns the offset, zero-indexed, of the last character - * of the range relative to the beginning of the line. - */ - public int getEndingCharNumberInLine (); - - /** - * Returns the index, zero-indexed, of the last character - * of the range relative to the beginning of the file. - */ - public int getEndingCharNumberInURI (); -} |