站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

Deprecated List (NetBeans Ant Project API) - NetBeans API Javadoc 5.0.0

 

Deprecated API

Deprecated Methods
org.netbeans.spi.project.support.ant.ReferenceHelper.addReference(AntArtifact)
          to add reference use ReferenceHelper.addReference(AntArtifact, URI); to check whether reference exist or not use ReferenceHelper.isReferenced(AntArtifact, URI). This method creates reference for the first artifact location only. 
org.netbeans.spi.project.support.ant.ReferenceHelper.createForeignFileReference(AntArtifact)
          use ReferenceHelper.addReference(AntArtifact, URI) instead 
org.netbeans.spi.project.support.ant.ReferenceHelper.destroyForeignFileReference(String)
          use ReferenceHelper.destroyReference(java.lang.String) instead which does exactly the same but has more appropriate name 
org.netbeans.api.project.ant.AntArtifact.getArtifactFile()
          use AntArtifact.getArtifactFiles() instead 
org.netbeans.api.project.ant.AntArtifact.getArtifactLocation()
          use AntArtifact.getArtifactLocations() instead 
org.netbeans.spi.project.support.ant.ReferenceHelper.getForeignFileReferenceAsArtifact(String)
          use ReferenceHelper.findArtifactAndLocation(java.lang.String) instead 
org.netbeans.spi.project.support.ant.ReferenceHelper.RawReference.getScriptLocation()
          use ReferenceHelper.RawReference.getScriptLocationValue() instead; may return null now 
org.netbeans.spi.project.support.ant.ReferenceHelper.removeReference(String)
          use ReferenceHelper.destroyReference(java.lang.String) instead; was unused anyway 
org.netbeans.spi.project.support.ant.ReferenceHelper.removeReference(String, String)
          use ReferenceHelper.destroyReference(java.lang.String) instead; was unused anyway 
 


 

Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.