Package org.springframework.boot.system
Class ApplicationTemp
java.lang.Object
org.springframework.boot.system.ApplicationTemp
Provides access to an application specific temporary directory. Generally speaking
different Spring Boot applications will get different locations, however, simply
restarting an application will give the same location.
- Since:
- 2.0.0
-
Constructor Summary
ConstructorDescriptionCreate a newApplicationTemp
instance.ApplicationTemp
(Class<?> sourceClass) Create a newApplicationTemp
instance for the specified source class. -
Method Summary
-
Constructor Details
-
ApplicationTemp
public ApplicationTemp()Create a newApplicationTemp
instance. -
ApplicationTemp
Create a newApplicationTemp
instance for the specified source class.- Parameters:
sourceClass
- the source class ornull
-
-
Method Details