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
- Author:
- Phillip Webb
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a newApplicationTempinstance.ApplicationTemp(Class<?> sourceClass) Create a newApplicationTempinstance for the specified source class. -
Method Summary
-
Constructor Details
-
ApplicationTemp
public ApplicationTemp()Create a newApplicationTempinstance. -
ApplicationTemp
Create a newApplicationTempinstance for the specified source class.- Parameters:
sourceClass- the source class ornull
-
-
Method Details