-
ch.qos.logback.core.rolling.helper.RenameUtil.rename()
A robust file renaming method which in case of failure falls back to renaming by copying. In case, the file to be renamed is open by another process, renaming by copying will succeed whereas regular renaming will fail. However, renaming by copying is much slower.
@param from
@param to
@throws RolloverFailure
-
clips.delegate.directory.complex.DirectoryServicesGroupItem.rename()
Переименование элемента
@param code код
@param title название
@throws ClipsException
-
clips.delegate.directory.complex.DirectoryVidalAtcItem.rename()
Переименование элемента
@param code код
@param title название
@throws ClipsException
-
com.enterprisedt.net.ftp.FTPClient.rename()
-
com.ettrema.httpclient.File.rename()
-
com.flaptor.hounder.crawler.pagedb.PageDB.rename()
Rename the pagedb.
@param newname new name for the pagedb.
-
com.flaptor.hounder.crawler.pagedb.distributed.DPageDB.rename()
-
com.googlecode.mjorm.query.DaoModifier.rename()
-
com.hdfsTools.action.renameAction.rename()
@param src ,,url
@param dst , ,url
@return
@throws IOException
-
com.hdfsTools.dao.renameDao.rename()
-
com.hdfsTools.impl.renameImpl.rename()
-
com.ikanow.infinit.e.harvest.extraction.document.file.InternalInfiniteFile.rename()
-
com.intellij.openapi.vfs.VirtualFile.rename()
Renames this file to the
newName
.
This method should be only called within write-action. See {@link Application#runWriteAction}.
@param requestor any object to control who called this method. Note thatit is considered to be an external change if requestor
is null
. See {@link VirtualFileEvent#getRequestor}
@param newName the new file name
@throws IOException if file failed to be renamed
-
com.jcraft.jsch.ChannelSftp.rename()
-
com.openshift.client.IDomain.rename()
Rename the current domain with the given id....
@param id
@throws OpenShiftException
-
com.oreilly.servlet.multipart.DefaultFileRenamePolicy.rename()
-
com.oreilly.servlet.multipart.FileRenamePolicy.rename()
Returns a File object holding a new name for the specified file.
@see FilePart#writeTo(File fileOrDirectory)
-
com.saasovation.collaboration.domain.model.calendar.Calendar.rename()
-
com.santiagolizardo.beobachter.beans.LogTypeManager.rename()
-
com.sleepycat.db.internal.Db.rename()
-
com.sos.VirtualFileSystem.Interfaces.ISOSVirtualFile.rename()
-
com.sshtools.j2ssh.sftp.SftpFile.rename()
@param newFilename
@throws IOException
-
com.trolltech.qt.core.QFile.rename()
-
com.vmware.aurora.vc.VcVirtualMachine.rename()
Rename the VM.
@param newName The new name of the VM.
-
de.chris_soft.nanodoa.gui.tree.path.LabelPath.rename()
Set a new name for this label.
@param newLabelName New label name.
-
floobits.common.interfaces.IFile.rename()
-
javax.naming.Context.rename()
Binds a specified new name to the object, and any attributes, previously bound to the specified old name. The old name is removed from the bindings for this context.
@param nOld the old name
@param nNew the new name
@throws NameAlreadyBoundException if the new is already bound
@throws NamingException if an error occurs.
-
javax.naming.InitialContext.rename()
-
javax.naming.directory.DirContext.rename()
-
javax.naming.directory.InitialDirContext.rename()
-
javax.naming.ldap.LdapContext.rename()
-
l2p.gameserver.model.L2Player.reName()
-
lineage2.gameserver.model.Player.reName()
Method reName.
@param name String
@param saveToDB boolean
-
net.opentsdb.uid.UniqueId.rename()
Reassigns the UID to a different name (non-atomic).
Whatever was the UID of {@code oldname} will be given to {@code newname}. {@code oldname} will no longer be assigned a UID.
Beware that the assignment change is not atommic. If two threads or processes attempt to rename the same UID differently, the result is unspecified and might even be inconsistent. This API is only here for administrative purposes, not for normal programmatic interactions.
@param oldname The old name to rename.
@param newname The new name.
@throws NoSuchUniqueName if {@code oldname} wasn't assigned.
@throws IllegalArgumentException if {@code newname} was already assigned.
@throws HBaseException if there was a problem with HBase while trying toupdate the mapping.
-
net.sf.jasperreports.engine.base.JRBaseStyle.rename()
Changes the name of this style.
Note that this method is mostly meant to be used internally. Use cautiously as it might have unexpected consequences.
@param newName the new name
-
net.sourceforge.javautil.common.io.IVirtualFile.rename()
NOTE: Implementations must make sure that any cached {@link #getPath()} is cleared or updated.
@param newName The new name for the file
-
netscape.ldap.LDAPConnection.rename()
-
org.apache.accumulo.core.client.admin.NamespaceOperations.rename()
Rename a namespace
@param oldNamespaceName the old namespace name
@param newNamespaceName the new namespace name
@throws AccumuloException if a general error occurs
@throws AccumuloSecurityException if the user does not have permission
@throws NamespaceNotFoundException if the old namespace does not exist
@throws NamespaceExistsException if the new namespace already exists
@since 1.6.0
-
org.apache.accumulo.core.client.admin.TableOperations.rename()
Rename a table
@param oldTableName the old table name
@param newTableName the new table name
@throws AccumuloException if a general error occurs
@throws AccumuloSecurityException if the user does not have permission
@throws TableNotFoundException if the old table name does not exist
@throws TableExistsException if the new table name already exists
-
org.apache.accumulo.server.fs.VolumeManager.rename()
-
org.apache.cayenne.modeler.pref.DataMapDefaults.rename()
-
org.apache.cayenne.pref.Domain.rename()
Renames this domain. If there is a sibling domain with same name, such sibling is renamed using generated unique name. This operation essentially substitutes one domain subtree with another.
-
org.apache.chemistry.opencmis.inmemory.storedobj.api.StoredObject.rename()
Rename an object
@param newName the new name of the object
-
org.apache.commons.net.ftp.FTPClient.rename()
Renames a remote file.
@param from The name of the remote file to rename.
@param to The new name of the remote file.
@return True if successfully completed, false if not.
@exception FTPConnectionClosedException If the FTP server prematurely closes the connection as a result of the client being idle or some other reason causing the server to send FTP reply code 421. This exception may be caught either as an IOException or independently as itself.
@exception IOException If an I/O error occurs while either sending acommand to the server or receiving a reply from the server.
-
org.apache.directory.ldap.client.api.LdapConnection.rename()
Renames the given entryDn with new Rdn and deletes the old Rdn.
@param entryDn the target Dn
@param newRdn new Rdn for the target Dn
@return modifyDn operation's response
@throws LdapException if some error occurred
@see #rename(String,String,boolean)
-
org.apache.directory.server.core.CoreSession.rename()
Renames an entry by changing it's relative distinguished name. This has the side effect of changing the distinguished name of all entries directly or indirectly subordinate to the named entry if it has descendants.
@param dn the distinguished name of the entry to rename
@param newRdn the new relative distinguished name for the entry
@param deleteOldRdn whether or not the old value for the relative distinguished name is to be deleted from the entry
@throws Exception if there are failures while renaming the entry
-
org.apache.directory.server.core.OperationManager.rename()
TODO document after determining if this method should be here.
-
org.apache.directory.server.core.api.CoreSession.rename()
Renames an entry by changing it's relative distinguished name. This has the side effect of changing the distinguished name of all entries directly or indirectly subordinate to the named entry if it has descendants.
@param dn the distinguished name of the entry to rename
@param newRdn the new relative distinguished name for the entry
@param deleteOldRdn whether or not the old value for the relative distinguished name is to be deleted from the entry
@throws Exception if there are failures while renaming the entry
-
org.apache.directory.server.core.api.OperationManager.rename()
TODO document after determining if this method should be here.
-
org.apache.directory.server.core.api.interceptor.Interceptor.rename()
Filters {@link Partition#rename(RenameOperationContext)} call.
-
org.apache.directory.server.core.api.partition.Partition.rename()
Modifies an entry by changing its relative name. Optionally attributes associated with the old relative name can be removed from the entry. This makes sense only in certain namespaces like LDAP and will be ignored if it is irrelevant.
@param renameContext the modify Dn context
@throws Exception if there are any problems
-
org.apache.directory.server.core.interceptor.InterceptorChain.rename()
-
org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.rename()
{@inheritDoc}
-
org.apache.hadoop.fs.FileContext.rename()
Renames Path src to Path dst
- Fails if src is a file and dst is a directory.
- Fails if src is a directory and dst is a file.
- Fails if the parent of dst does not exist or is a file.
If OVERWRITE option is not passed as an argument, rename fails if the dst already exists.
If OVERWRITE option is passed as an argument, rename overwrites the dst if it is a file or an empty directory. Rename fails if dst is a non-empty directory.
Note that atomicity of rename is dependent on the file system implementation. Please refer to the file system documentation for details
@param src path to be renamed
@param dst new path after rename
@throws AccessControlException If access is denied
@throws FileAlreadyExistsException If dst
already exists andoptions has {@link Options.Rename#OVERWRITE} option false.
@throws FileNotFoundException If src
does not exist
@throws ParentNotDirectoryException If parent of dst
is not adirectory
@throws UnsupportedFileSystemException If file system for src
and dst
is not supported
@throws IOException If an I/O error occurredExceptions applicable to file systems accessed over RPC:
@throws RpcClientException If an exception occurred in the RPC client
@throws RpcServerException If an exception occurred in the RPC server
@throws UnexpectedServerException If server implementation throwsundeclared exception to RPC server
-
org.apache.hadoop.fs.FileSystem.rename()
Renames Path src to Path dst. Can take place on local fs or remote DFS.
-
org.apache.hadoop.hdfs.DFSClient.rename()
Rename file or directory. See {@link ClientProtocol#rename(String,String)}.
-
org.apache.hadoop.hdfs.DistributedFileSystem.rename()
Rename files/dirs
-
org.apache.hadoop.hdfs.DistributedRaidFileSystem.rename()
-
org.apache.hadoop.hdfs.server.namenode.NameNode.rename()
-
org.apache.hadoop.hdfs.server.protocol.NamenodeProtocols.rename()
-
org.apache.jackrabbit.api.JackrabbitNode.rename()
@param newName
@throws javax.jcr.RepositoryException
-
org.apache.log4j.helpers.FileHelper.rename()
Rename with retry.
@param from
@param to
@return true if the file was successfully renamed.
-
org.apache.oodt.cas.metadata.filenaming.NamingConvention.rename()
-
org.apache.pig.backend.datastorage.ElementDescriptor.rename()
Changes the name of an entity in the Data Storage
@param newName new name of entity
@throws DataStorageException
-
org.apache.tools.ant.util.FileUtils.rename()
Renames a file, even if that involves crossing file system boundaries.
This will remove to
(if it exists), ensure that to
's parent directory exists and move from
, which involves deleting from
as well.
@throws IOException if anything bad happens during thisprocess. Note that
to
may have been deleted already when this happens.
@param from the file to move
@param to the new file name
@since Ant 1.6
-
org.conan.myhadoop.hdfs.HdfsDAO.rename()
-
org.drools.workbench.screens.drltext.service.DRLTextEditorService.rename()
-
org.drools.workbench.screens.dtablexls.service.DecisionTableXLSService.rename()
-
org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.rename()
-
org.eclipse.dltk.internal.corext.refactoring.rename.RenameModifications.rename()
-
org.eclipse.jdt.core.IMethod.rename()
-
org.eclipse.jgit.lib.RefRename.rename()
@return the result of the new ref update
@throws IOException
-
org.geowebcache.storage.blobstore.file.FileBlobStore.rename()
Renames the layer directory for layer {@code oldLayerName} to {@code newLayerName}
@return true if the directory for the layer was renamed, or the original directory didn'texist in first place. {@code false} if the original directory exists but can't berenamed to the target directory
@throws StorageException if the target directory already exists
@see org.geowebcache.storage.BlobStore#rename
-
org.gephi.filters.api.FilterController.rename()
Renames query
with name
.
@param query the query that is to be renamed
@param name the new query's name
-
org.getspout.spoutapi.inventory.ItemMap.rename()
-
org.gradle.api.tasks.bundling.Zip.rename()
-
org.h2.store.fs.FileSystem.rename()
Rename a file if this is allowed.
@param oldName the old fully qualified file name
@param newName the new fully qualified file name
-
org.h2.table.Column.rename()
Rename the column. This method will only set the column name to the new value.
@param newName the new column name
-
org.jahia.services.content.JCRNodeWrapper.rename()
Rename the current file node
@param newName The new name
@return true if action was successful, or false if not
@throws RepositoryException
-
org.jitterbit.integration.client.project.rename.ProjectLocationRenamer.rename()
Renames the project.
@param newName the new name of the project
@return a ProjectLocation
representing the new project location
@throws IllegalNameException if the new name is invalid for a project
-
org.jnode.driver.DeviceManager.rename()
Rename a registered device, optionally using an autonumber postfix
@param device
@param name
@param autonumber
@throws DeviceAlreadyRegisteredException
-
org.lealone.dbobject.table.Column.rename()
Rename the column. This method will only set the column name to the new value.
@param newName the new column name
-
org.nasutekds.quicksetup.util.FileManager.rename()
Renames the source file to the target file. If the target file exists it is first deleted. The rename and delete operation return values are checked for success and if unsuccessful, this method throws an exception.
@param fileToRename The file to rename.
@param target The file to which fileToRename
will bemoved.
@throws ApplicationException If a problem occurs while attempting to renamethe file. On the Windows platform, this typically indicates that the file is in use by this or another application.
-
org.olat.core.commons.modules.bc.meta.MetaInfo.rename()
Rename the given meta info file
@param meta
@param newName
-
org.olat.core.util.vfs.VFSContainer.rename()
-
org.olat.core.util.vfs.VFSItem.rename()
@param newname e.g test.txt or myfolder (no path prepended)
@return status
-
org.olat.core.util.vfs.VFSLeaf.rename()
-
org.openide.filesystems.FileObject.rename()
-
org.terrier.utility.io.FileSystem.rename()
rename a file/dir to another name, on the same file system
-
railo.runtime.type.Query.rename()
-
railo.runtime.type.QueryImpl.rename()
-
redis.clients.jedis.Pipeline.rename()
-
redis.clients.jedis.Transaction.rename()
-
simpleserver.nbt.NBTCompound.rename()
-
tachyon.UnderFileSystem.rename()
-
tachyon.client.TachyonFS.rename()
Renames a file or folder to another path.
@param fileId The id of the source file / folder. If it is not -1, path parameter is ignored.Otherwise, the method uses the srcPath parameter.
@param srcPath The path of the source file / folder. It could be empty iff id is not -1.
@param dstPath The path of the destination file / folder. It could be empty iff id is not -1.
@return true if renames successfully, false otherwise.
@throws IOException