Changeset 5863 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2013-04-14T22:20:20+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmImporter.java
r5859 r5863 53 53 54 54 /** 55 * Imports OSM data from file @param file 56 * This method supports progress monitoring and canceling by using @param progressMonitor 55 * Imports OSM data from file 56 * @param file file to read data from 57 * @param progressMonitor handler for progress monitoring and canceling 57 58 */ 58 59 @Override … … 73 74 74 75 /** 75 * Imports OSM data from stream @param in , sitle will be generated from name of file @param associatedFile 76 * Imports OSM data from stream 77 * @param in input stream 78 * @param associatedFile filename of data 76 79 */ 77 80 protected void importData(InputStream in, final File associatedFile) throws IllegalDataException { … … 80 83 81 84 /** 82 * Imports OSM data from stream @param in , layer name will be generated from name of file @param associatedFile 83 * This method supports progress monitoring and canceling by using @param progressMonitor 85 * Imports OSM data from stream 86 * @param in input stream 87 * @param associatedFile filename of data (layer name will be generated from name of file) 88 * @param pm handler for progress monitoring and canceling 84 89 */ 85 90 protected void importData(InputStream in, final File associatedFile, ProgressMonitor pm) throws IllegalDataException { … … 100 105 /** 101 106 * Load osm data layer from InputStream. 102 * associatedFile can be null if the stream does not come from a file. 107 * @param in input stream 108 * @param associatedFile filename of data (can be <code>null</code> if the stream does not come from a file) 109 * @param layerName name of generated layer 110 * @param progressMonitor handler for progress monitoring and canceling 103 111 */ 104 112 public OsmImporterData loadLayer(InputStream in, final File associatedFile, final String layerName, ProgressMonitor progressMonitor) throws IllegalDataException { -
trunk/src/org/openstreetmap/josm/io/OsmServerReader.java
r5587 r5863 38 38 * Open a connection to the given url and return a reader on the input stream 39 39 * from that connection. In case of user cancel, return <code>null</code>. 40 * @param urlStr The exact url to connect to. 41 * @param pleaseWaitDlg 40 * Relative URL's are directed to API base URL. 41 * @param urlStr The url to connect to. 42 * @param progressMonitor progress monitoring and abort handler 42 43 * @return An reader reading the input stream (servers answer) or <code>null</code>. 44 * @throws OsmTransferException thrown if data transfer errors occur 43 45 */ 44 46 protected InputStream getInputStream(String urlStr, ProgressMonitor progressMonitor) throws OsmTransferException { … … 52 54 } 53 55 56 /** 57 * Retrun the base URL for relative URL requests 58 * @return base url of API 59 */ 54 60 protected String getBaseUrl() { 55 61 return api.getBaseUrl(); 56 62 } 57 63 64 /** 65 * Open a connection to the given url and return a reader on the input stream 66 * from that connection. In case of user cancel, return <code>null</code>. 67 * @param urlStr The exact url to connect to. 68 * @param progressMonitor progress monitoring and abort handler 69 * @return An reader reading the input stream (servers answer) or <code>null</code>. 70 * @throws OsmTransferException thrown if data transfer errors occur 71 */ 58 72 protected InputStream getInputStreamRaw(String urlStr, ProgressMonitor progressMonitor) throws OsmTransferException { 59 73 try { -
trunk/src/org/openstreetmap/josm/io/auth/AbstractCredentialsAgent.java
r5692 r5863 15 15 16 16 /** 17 * @see CredentialsAgent#getCredentials (RequestorType, String, boolean)17 * @see CredentialsAgent#getCredentials 18 18 */ 19 19 @Override -
trunk/src/org/openstreetmap/josm/io/auth/JosmPreferencesCredentialAgent.java
r5111 r5863 25 25 26 26 /** 27 * @see CredentialsAgent#lookup (RequestorType)27 * @see CredentialsAgent#lookup 28 28 */ 29 29 @Override … … 59 59 60 60 /** 61 * @see CredentialsAgent#store (RequestorType, PasswordAuthentication)61 * @see CredentialsAgent#store 62 62 */ 63 63 @Override
Note:
See TracChangeset
for help on using the changeset viewer.