Changeset 13231 in josm for trunk/src/javax/json/stream/JsonLocation.java
- Timestamp:
- 2017-12-23T02:40:43+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/javax/json/stream/JsonLocation.java
r6756 r13231 2 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3 3 * 4 * Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. 4 * Copyright (c) 2013-2017 Oracle and/or its affiliates. All rights reserved. 5 5 * 6 6 * The contents of this file are subject to the terms of either the GNU … … 9 9 * may not use this file except in compliance with the License. You can 10 10 * obtain a copy of the License at 11 * https:// glassfish.dev.java.net/public/CDDL+GPL_1_1.html12 * or packager/legal/LICENSE.txt. See the License for the specific11 * https://oss.oracle.com/licenses/CDDL+GPL-1.1 12 * or LICENSE.txt. See the License for the specific 13 13 * language governing permissions and limitations under the License. 14 14 * 15 15 * When distributing the software, include this License Header Notice in each 16 * file and include the License file at packager/legal/LICENSE.txt.16 * file and include the License file at LICENSE.txt. 17 17 * 18 18 * GPL Classpath Exception: … … 52 52 * {@link javax.json.JsonArray JsonArray} input source, all the methods in 53 53 * this class return -1. 54 *55 * @author Jitendra Kotamraju56 54 * @see JsonParser 57 55 * @see JsonParsingException … … 60 58 61 59 /** 62 * Return the line number for the current JSON event in the input source. 60 * Return the line number (starts with 1 for the first line) for the current JSON event in the input source. 63 61 * 64 * @return the line number or -1 if none is available 62 * @return the line number (starts with 1 for the first line) or -1 if none is available 65 63 */ 66 64 long getLineNumber(); 67 65 68 66 /** 69 * Return the column number for the current JSON event in the input source. 67 * Return the column number (starts with 1 for the first column) for the current JSON event in the input source. 70 68 * 71 * @return the column number or -1 if none is available 69 * @return the column number (starts with 1 for the first column) or -1 if none is available 72 70 */ 73 71 long getColumnNumber();
Note:
See TracChangeset
for help on using the changeset viewer.