- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for Read (0.14 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
/** * Generic interface to read/write objects to/from XML. * * @param <T> the object type to read/write * @since 4.0.0 */ @Experimental public interface XmlFactory<T> extends Service { @Nonnull default T read(@Nonnull Path path) throws XmlReaderException { return read(path, true); } @Nonnull default T read(@Nonnull Path path, boolean strict) throws XmlReaderException {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Nov 17 15:52:15 GMT 2023 - 3.9K bytes - Viewed (0) -
apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java
assertTrue(globalSettingsFile.isFile(), globalSettingsFile.getAbsolutePath()); try (InputStream is = Files.newInputStream(globalSettingsFile.toPath())) { new SettingsStaxReader().read(is, true, new InputSource(globalSettingsFile.getAbsolutePath())); } }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/InheritanceAssembler.java
* objects from the parent. * * @param child The child model into which to merge the values inherited from the parent, must not be * <code>null</code>. * @param parent The (read-only) parent model from which to inherit the values, may be <code>null</code>. * @param request The model building request that holds further settings, must not be {@code null}.
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelProcessor.java
* @return The deserialized model, never {@code null}. * @throws IOException If the model could not be deserialized. * @throws XmlReaderException If the input format could not be parsed. */ Model read(XmlReaderRequest request) throws IOException, XmlReaderException;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolver.java
} return result; } private static DependencyResolverException cannotReadModuleInfo(final Path path, final IOException cause) { return new DependencyResolverException("Cannot read module information of " + path, cause); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 4.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java
if (inputStream != null) { return xml.read(inputStream, request.isStrict(), source); } else if (reader != null) { return xml.read(reader, request.isStrict(), source); } else if (path != null) { try (InputStream is = Files.newInputStream(path)) { return xml.read(is, request.isStrict(), source); } } else {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Thu Dec 07 20:05:02 GMT 2023 - 5.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java
if (inputStream != null) { return xml.read(inputStream, request.isStrict(), source); } else if (reader != null) { return xml.read(reader, request.isStrict(), source); } else if (path != null) { try (InputStream is = Files.newInputStream(path)) { return xml.read(is, request.isStrict(), source); } } else {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
if (reader != null) { return xml.read(reader, request.isStrict()); } else { return xml.read(inputStream, request.isStrict()); } } catch (Exception e) { throw new XmlReaderException("Unable to read toolchains", e); } } @Override
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Thu Dec 07 20:05:02 GMT 2023 - 3.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
if (reader != null) { return xml.read(reader, request.isStrict()); } else { return xml.read(inputStream, request.isStrict()); } } catch (Exception e) { throw new XmlReaderException("Unable to read toolchains: " + getMessage(e), getLocation(e), e); } } @Override
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java
* @return The deserialized metadata, never {@code null}. * @throws IOException If the metadata could not be deserialized. * @throws MetadataParseException If the input format could not be parsed. */ Metadata read(File input, Map<String, ?> options) throws IOException, MetadataParseException; /** * Reads the metadata from the specified character reader. The reader will be automatically closed before the method * returns.
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.3K bytes - Viewed (0)