Class RegistryKey.Attributes
- java.lang.Object
-
- com.github.robtimus.os.windows.registry.RegistryKey.Attributes
-
- Enclosing class:
- RegistryKey
public static final class RegistryKey.Attributes extends Object
Attributes associated with a registry key.- Author:
- Rob Spoor
- Since:
- 1.1
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instant
lastWriteTime()
Returns the instant when the registry key was last written to.int
subKeyCount()
Returns the number of sub keys of the registry key.int
valueCount()
Returns the number of values of the registry key.
-
-
-
Method Detail
-
subKeyCount
public int subKeyCount()
Returns the number of sub keys of the registry key.- Returns:
- The number of sub keys of the registry key.
-
valueCount
public int valueCount()
Returns the number of values of the registry key.- Returns:
- The number of values of the registry key.
-
lastWriteTime
public Instant lastWriteTime()
Returns the instant when the registry key was last written to.- Returns:
- The instant when the registry key was last written to.
-
-