Package org.eclipse.aether.internal.impl
Interface TrackingFileManager
-
- All Known Implementing Classes:
DefaultTrackingFileManager
public interface TrackingFileManager
Manages access to a properties file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Properties
read(java.io.File file)
Reads up the specified properties file intoProperties
, if exists, otherwisenull
is returned.java.util.Properties
update(java.io.File file, java.util.Map<java.lang.String,java.lang.String> updates)
Applies updates to specified properties file and returns resultingProperties
with contents same as in updated file, nevernull
.
-
-
-
Method Detail
-
read
java.util.Properties read(java.io.File file)
Reads up the specified properties file intoProperties
, if exists, otherwisenull
is returned.
-
update
java.util.Properties update(java.io.File file, java.util.Map<java.lang.String,java.lang.String> updates)
Applies updates to specified properties file and returns resultingProperties
with contents same as in updated file, nevernull
.
-
-