|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.ide.common.resources.configuration.DeviceConfigHelper
public class DeviceConfigHelper
Constructor Summary | |
---|---|
DeviceConfigHelper()
|
Method Summary | |
---|---|
static FolderConfiguration |
getFolderConfig(com.android.sdklib.devices.Device d)
Returns a FolderConfiguration based on the default State
for the given Device . |
static FolderConfiguration |
getFolderConfig(com.android.sdklib.devices.Device d,
java.lang.String stateName)
Returns a FolderConfiguration based on the State given by
the Device and the state name. |
static FolderConfiguration |
getFolderConfig(com.android.sdklib.devices.State state)
Returns a FolderConfiguration based on the given state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeviceConfigHelper()
Method Detail |
---|
@Nullable public static FolderConfiguration getFolderConfig(@Nullable com.android.sdklib.devices.State state)
FolderConfiguration
based on the given state
state
- The State
of the Device
to base the
FolderConfiguration
on. Can be null.
FolderConfiguration
based on the given State
.
If the given State
is null, the result is also null;@Nullable public static FolderConfiguration getFolderConfig(com.android.sdklib.devices.Device d, java.lang.String stateName)
FolderConfiguration
based on the State
given by
the Device
and the state name.
d
- The Device
to base the FolderConfiguration
on.stateName
- The name of the state to base the FolderConfiguration
on.
FolderConfiguration
based on the determined
State
. If there is no State
with the given state
name for the given device, null is returned.public static FolderConfiguration getFolderConfig(com.android.sdklib.devices.Device d)
FolderConfiguration
based on the default State
for the given Device
.
d
- The Device
to generate the FolderConfiguration
from.
FolderConfiguration
based on the default State
for the given Device
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |