This class is considered usable by external developers but its contracts have not stabilized.
Experimental APIs may be changed at any time before being marked
@Internal
or
@PublicApi
.
Class Overview
Static factory methods for TemplateSource
instances.
Designed to be used with static import for improved readability of your code.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
TemplateSources
()
Public Methods
@ExperimentalApi
public
static
TemplateSource
file
(String path)
This method is considered usable by external developers but its contracts have not stabilized.
Experimental APIs may be changed at any time before being marked
@Internal
or
@PublicApi
.
@ExperimentalApi
public
static
TemplateSource
fragment
(String content)
This method is considered usable by external developers but its contracts have not stabilized.
Experimental APIs may be changed at any time before being marked
@Internal
or
@PublicApi
.