Changeset 15692 in josm for trunk/scripts/TagInfoExtract.java
- Timestamp:
- 2020-01-12T15:22:16+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/TagInfoExtract.java
r15232 r15692 128 128 /** 129 129 * Parse command line arguments. 130 * @param args command line arguments 130 131 */ 131 132 private void parseCommandLineArguments(String[] args) { … … 203 204 * Determine full image url (can refer to JOSM or OSM repository). 204 205 * @param path the image path 206 * @return full image url 205 207 */ 206 208 private String findImageUrl(String path) { … … 323 325 /** 324 326 * Read the style sheet file and parse the MapCSS code. 327 * @throws IOException if any I/O error occurs 328 * @throws ParseException in case of parsing error 325 329 */ 326 330 private void parseStyleSheet() throws IOException, ParseException { … … 335 339 /** 336 340 * Collect all the tag from the style sheet. 341 * @return list of taginfo tags 337 342 */ 338 343 private List<TagInfoTag> convertStyleSheet() { … … 403 408 /** 404 409 * Create image file from StyleElement. 410 * @param element style element 411 * @param type object type 412 * @param nc navigatable component 405 413 * 406 414 * @return the URL … … 428 436 * @param generateImage if true, create or find a suitable image icon and return URL, 429 437 * if false, just check if tag is supported and return true or false 438 * @return URL for image icon if tag is supported 430 439 */ 431 440 abstract Optional<String> findUrl(boolean generateImage); … … 550 559 /** 551 560 * Initialize the script. 561 * @throws IOException if any I/O error occurs 552 562 */ 553 563 private void init() throws IOException {
Note:
See TracChangeset
for help on using the changeset viewer.