|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.workspace.ShapeWorkspace
public class ShapeWorkspace
The ShapeWorkspace object defines a shapefile data source.
Constructor Summary | |
---|---|
ShapeWorkspace()
Constructs an instance of a ShapeWorkspace object. |
Method Summary | |
---|---|
int |
getCodePage()
Deprecated. As of ArcIMS 4.0.1 Java Connector, replaced by getCodePageString() . |
String |
getCodePageString()
Returns the codepage value. |
String |
getDirectory()
Returns the ShapeWorkspace object's directory value. |
String |
getGeoIndexDir()
Returns the directory where the geocoding index is built. |
String |
getName()
Returns the ShapeWorkspace object's name value. |
boolean |
isShared()
Returns true if the setShared method was set to true. |
void |
setCodePage(int value)
Deprecated. As of ArcIMS 4.0.1 Java Connector, replaced by setCodePage(String) . |
void |
setCodePage(String value)
Sets the ShapeWorkspace object's codepage value. |
void |
setDirectory(String directory)
Sets the ShapeWorkspace object's working directory. |
void |
setGeoIndexDir(String value)
Sets the directory where the Geocoding index is built. |
void |
setName(String name)
Sets the ShapeWorkspace object's name value. |
void |
setShared(boolean value)
When set to true, the ArcIMS Spatial Server checks if a shapefile has been modified outside of ArcIMS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShapeWorkspace()
ShapeWorkspace shapeWorkspace = new ShapeWorkspace();
Method Detail |
---|
public void setName(String name)
shapeWorkspace.setName("SWorkspace");
name
- the name value.getName()
public void setDirectory(String directory)
shapeWorkspace.setDirectory("C:/ArcIMS/Shapes/dir");
directory
- the directory value.getDirectory()
public String getName()
String name = shapeWorkspace.getName();
setName(java.lang.String)
public String getDirectory()
String directory = shapeWorkspace.getDirectory();
setDirectory(java.lang.String)
public void setCodePage(String value)
shapeWorkspace.setCodePage("UTF-8");
value
- the codepage value.getCodePageString()
public String getCodePageString()
String codePage = shapeWorkspace.getCodePageString();
public void setCodePage(int value)
setCodePage(String)
.
value
- the codepage value.getCodePageString()
public int getCodePage()
getCodePageString()
.
public void setShared(boolean value)
shapeWorkspace.setShared(true);
value
- the shared value.isShared()
public boolean isShared()
if(shapeWorkspace.isShared() == true){
shapeWorkspace.setShared(false);
}
setShared(boolean)
public void setGeoIndexDir(String value)
shapeWorkspace.setGeoIndexDir("C:/ArcIMS/Index");
value
- the directory value.getGeoIndexDir()
public String getGeoIndexDir()
String geoIndexDir = shapeWorkspace.getGeoIndexDir();
setGeoIndexDir(java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |