Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TC999/Aria-bak
/ functions
Functions
4,264 in github.com/TC999/Aria-bak
⨍
Functions
4,264
◇
Types & classes
620
↳
Endpoints
5
↓ 2 callers
Method
putTaskToFirst
将任务放在队首
Aria/src/main/java/com/arialyy/aria/core/queue/pool/BaseCachePool.java:58
↓ 2 callers
Method
quitLooper
退出looper循环
M3U8Component/src/main/java/com/arialyy/aria/m3u8/live/LiveStateManager.java:107
↓ 2 callers
Method
rangeCheck
(int value, int begin, int end)
FtpComponent/src/main/java/aria/apache/commons/net/util/SubnetUtils.java:366
↓ 2 callers
Method
read
Reads and returns the next character in the message. If the end of the message has been reached, returns -1. Note that a call to this method may res
FtpComponent/src/main/java/aria/apache/commons/net/io/DotTerminatedMessageReader.java:76
↓ 2 callers
Method
readFully
Returns the remainder of 'reader' as a string, closing it when done.
AppFrame/src/main/java/com/arialyy/frame/cache/DiskLruCache.java:190
↓ 2 callers
Method
readNextEntry
Reads the next entry using the supplied BufferedReader object up to whatever delemits one entry from the next. Implementors must define this for the
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPFileEntryParser.java:106
↓ 2 callers
Method
readResults
Extracts buffered data into the provided byte[] array, starting at position bPos, up to a maximum of bAvail bytes. Returns how many bytes were actuall
FtpComponent/src/main/java/aria/apache/commons/net/util/Base64.java:412
↓ 2 callers
Method
rebuildJournal
Creates a new journal that omits redundant information. This replaces the current journal if it exists.
AppFrame/src/main/java/com/arialyy/frame/cache/DiskLruCache.java:427
↓ 2 callers
Method
removeListener
(EventListener listener)
FtpComponent/src/main/java/aria/apache/commons/net/util/ListenerList.java:41
↓ 2 callers
Method
removeTaskFromExecQ
从执行队列中移除任务,一般用于任务完成的情况
PublicComponent/src/main/java/com/arialyy/aria/core/group/ISubQueue.java:63
↓ 2 callers
Method
resetFileName
如果ftp服务器端已经有同名文件,修改该文件上传到远端的文件名,该操作不会修改本地文件名 如果你希望覆盖远端的同名文件,可以使用{@link #coverServerFile()}
PublicComponent/src/main/java/com/arialyy/aria/core/processor/FtpInterceptHandler.java:65
↓ 2 callers
Method
retryBlockTask
重试分块线程,如果其中一条线程已经下载失败,则任务该任务下载失败,并且停止该任务的所有线程 @param needRetry 是否可以重试
PublicComponent/src/main/java/com/arialyy/aria/core/task/ThreadTask.java:454
↓ 2 callers
Method
retryThread
重试线程任务 @param task 线程任务
PublicComponent/src/main/java/com/arialyy/aria/core/manager/ThreadTaskManager.java:245
↓ 2 callers
Method
sendRunningState
发送执行中的数据
PublicComponent/src/main/java/com/arialyy/aria/core/task/ThreadTask.java:359
↓ 2 callers
Method
setActiveExternalIPAddress
Set the external IP address in active mode. Useful when there are multiple network cards. @param ipAddress The external IP address of this machine. @
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPClient.java:1396
↓ 2 callers
Method
setActivePortRange
Set the client side port range in active mode. @param minPort The lowest available port (inclusive). @param maxPort The highest available port (inclu
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPClient.java:1383
↓ 2 callers
Method
setCharSet
(String charSet)
FtpComponent/src/main/java/com/arialyy/aria/ftp/FtpTaskOption.java:179
↓ 2 callers
Method
setClientConfig
(FTPClientConfig clientConfig)
FtpComponent/src/main/java/com/arialyy/aria/ftp/FtpTaskOption.java:139
↓ 2 callers
Method
setCurrentFlagSize
(int currentFlagSize)
M3U8Component/src/main/java/com/arialyy/aria/m3u8/vod/M3U8VodLoader.java:120
↓ 2 callers
Method
setDataTimeout
Sets the timeout in milliseconds to use when reading from the data connection. This timeout will be set immediately after opening the data connection
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPClient.java:961
↓ 2 callers
Method
setDefaultDateFormat
@param format The defaultDateFormat to be set. @param dfs the symbols to use (may be null)
FtpComponent/src/main/java/aria/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java:260
↓ 2 callers
Method
setDefaultPort
Sets the default port the SocketClient should connect to when a port is not specified. The {@link #_defaultPort_ _defaultPort_ } variable stores thi
FtpComponent/src/main/java/aria/apache/commons/net/SocketClient.java:407
↓ 2 callers
Method
setEnabledCipherSuites
Controls which particular cipher suites are enabled for use on this connection. Called before server negotiation. @param cipherSuites The cipher suit
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPSClient.java:441
↓ 2 callers
Method
setEnabledProtocols
Controls which particular protocol versions are enabled for use on this connection. I perform setting before a server negotiation. @param protocolVer
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPSClient.java:466
↓ 2 callers
Method
setFailNum
(int failNum)
PublicComponent/src/main/java/com/arialyy/aria/core/common/AbsEntity.java:132
↓ 2 callers
Method
setFileLenAdapter
如果你需要使用header中特定的key来设置文件长度,或有定制文件长度的需要,那么你可以通过该方法自行处理文件长度
Aria/src/main/java/com/arialyy/aria/core/common/HttpOption.java:165
↓ 2 callers
Method
setFileNameAdapter
(IHttpFileNameAdapter fileNameAdapter)
HttpComponent/src/main/java/com/arialyy/aria/http/HttpTaskOption.java:100
↓ 2 callers
Method
setFileSize
(long fileSize)
PublicComponent/src/main/java/com/arialyy/aria/core/common/AbsEntity.java:164
↓ 2 callers
Method
setFileType
Sets the file type to be transferred. This should be one of <code> FTP.ASCII_FILE_TYPE </code>, <code> FTP.BINARY_FILE_TYPE</code>, etc. The file ty
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPClient.java:1471
↓ 2 callers
Method
setGroupChild
(boolean groupChild)
PublicComponent/src/main/java/com/arialyy/aria/core/common/AbsNormalEntity.java:71
↓ 2 callers
Method
setGroupHash
(String groupHash)
PublicComponent/src/main/java/com/arialyy/aria/core/download/DownloadEntity.java:140
↓ 2 callers
Method
setGroupHash
(String groupHash)
PublicComponent/src/main/java/com/arialyy/aria/core/download/DTaskWrapper.java:99
↓ 2 callers
Method
setGroupTask
(boolean groupTask)
PublicComponent/src/main/java/com/arialyy/aria/core/download/DTaskWrapper.java:103
↓ 2 callers
Method
setHardLinkCount
Set the number of hard links to this file. This is not to be confused with symbolic links. @param links The number of hard links to this file.
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPFile.java:242
↓ 2 callers
Method
setInitialBuffer
Sets the streaming buffer. This is a small optimization where we try to buffer directly to the consumer's output array for one round (if the consumer
FtpComponent/src/main/java/aria/apache/commons/net/util/Base64.java:441
↓ 2 callers
Method
setLink
If the FTPFile is a symbolic link, use this method to set the name of the file being pointed to by the symbolic link. @param link The file pointed t
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPFile.java:302
↓ 2 callers
Method
setListener
(Object obj)
Aria/src/main/java/com/arialyy/aria/core/scheduler/ISchedulerListener.java:23
↓ 2 callers
Method
setMaxRate
Set the max upload or download rate in KB/s. maxRate must be grater than 0. If maxRate is zero, it means there is no bandwidth limit. @param maxRate
PublicComponent/src/main/java/com/arialyy/aria/util/BandwidthLimiter.java:59
↓ 2 callers
Method
setModuleListener
设置Module监听 @param moduleListener Module监听
AppFrame/src/main/java/com/arialyy/frame/module/AbsModule.java:48
↓ 2 callers
Method
setNeedClientAuth
Configures the socket to require client authentication. @param isNeedClientAuth The need client auth flag.
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPSClient.java:367
↓ 2 callers
Method
setNeedGetInfo
(boolean needGetInfo)
PublicComponent/src/main/java/com/arialyy/aria/core/loader/SubLoader.java:161
↓ 2 callers
Method
setOnError
(final Object error, final IResponse response)
AppFrame/src/main/java/com/arialyy/frame/http/HttpUtil.java:315
↓ 2 callers
Method
setParentKey
(String parentKey)
PublicComponent/src/main/java/com/arialyy/aria/core/loader/SubLoader.java:157
↓ 2 callers
Method
setPeerIndex
(int peerIndex)
PublicComponent/src/main/java/com/arialyy/aria/core/download/M3U8Entity.java:233
↓ 2 callers
Method
setPrecision
(int index, Calendar working)
FtpComponent/src/main/java/aria/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java:119
↓ 2 callers
Method
setQueueMod
(String queueMod)
PublicComponent/src/main/java/com/arialyy/aria/core/config/BaseTaskConfig.java:150
↓ 2 callers
Method
setRecentDateFormat
@param format The recentDateFormat to set. @param dfs the symbols to use (may be null)
FtpComponent/src/main/java/aria/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java:292
↓ 2 callers
Method
setRecentDateFormatStr
<p> setter for the recentDateFormatStr property. This property specifies a secondary date format that will be used by a parser configured by this con
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPClientConfig.java:507
↓ 2 callers
Method
setRedirect
(boolean redirect)
PublicComponent/src/main/java/com/arialyy/aria/core/common/AbsNormalEntity.java:87
↓ 2 callers
Method
setRemoveFile
(boolean removeFile)
PublicComponent/src/main/java/com/arialyy/aria/core/wrapper/AbsTaskWrapper.java:178
↓ 2 callers
Method
setResponseStr
(String responseStr)
PublicComponent/src/main/java/com/arialyy/aria/core/upload/UploadEntity.java:44
↓ 2 callers
Method
setRestartOffset
Sets the restart offset for file transfers. <p> The restart command is not sent to the server immediately. It is sent when a data connection is create
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPClient.java:2469
↓ 2 callers
Method
setSource
(File sourceFile)
app/src/main/java/com/arialyy/simple/widget/CodeView.java:65
↓ 2 callers
Method
setStopTime
(long stopTime)
PublicComponent/src/main/java/com/arialyy/aria/core/common/AbsEntity.java:204
↓ 2 callers
Method
setSubSize
(int subSize)
PublicComponent/src/main/java/com/arialyy/aria/core/group/GroupRunState.java:85
↓ 2 callers
Method
setUpdateInterval
设置进度更新间隔,该设置对正在运行的任务无效,默认为1000毫秒 @param updateInterval 不能小于0
PublicComponent/src/main/java/com/arialyy/aria/core/config/BaseTaskConfig.java:136
↓ 2 callers
Method
setUploadInterceptor
(IFtpUploadInterceptor uploadInterceptor)
FtpComponent/src/main/java/com/arialyy/aria/ftp/FtpTaskOption.java:155
↓ 2 callers
Method
setUploadInterceptor
FTP文件上传拦截器,如果远端已有同名文件,可使用该拦截器控制覆盖文件或修改该文件上传到服务器端端文件名
Aria/src/main/java/com/arialyy/aria/core/common/FtpOption.java:157
↓ 2 callers
Method
setUrlEntity
(FtpUrlEntity urlEntity)
FtpComponent/src/main/java/com/arialyy/aria/ftp/FtpTaskOption.java:163
↓ 2 callers
Method
setUrls
(List<String> urls)
M3U8Component/src/main/java/com/arialyy/aria/m3u8/M3U8TaskOption.java:264
↓ 2 callers
Method
setWantClientAuth
Configures the socket to request client authentication, but only if such a request is appropriate to the cipher suite negotiated. @param isWantClient
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPSClient.java:392
↓ 2 callers
Method
showChild
(boolean show)
app/src/main/java/com/arialyy/simple/widget/SubStateLinearLayout.java:160
↓ 2 callers
Method
sslNegotiation
SSL/TLS negotiation. Acquires an SSL socket of a control connection and carries out handshake processing. @throws IOException If server negotiation f
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPSClient.java:273
↓ 2 callers
Method
start
启动任务
PublicComponent/src/main/java/com/arialyy/aria/core/task/ITask.java:87
↓ 2 callers
Method
startFlow
开始流程
PublicComponent/src/main/java/com/arialyy/aria/core/loader/AbsNormalLoader.java:121
↓ 2 callers
Method
startNewPlayer
(String source)
app/src/main/java/com/arialyy/simple/core/download/m3u8/VideoPlayerFragment.java:129
↓ 2 callers
Method
startSubLoader
启动子任务下载器
PublicComponent/src/main/java/com/arialyy/aria/core/group/AbsGroupLoader.java:314
↓ 2 callers
Method
startSubTask
启动任务组中的子任务 @param url 子任务下载地址
Aria/src/main/java/com/arialyy/aria/core/manager/SubTaskManager.java:43
↓ 2 callers
Method
startThreadTask
()
M3U8Component/src/main/java/com/arialyy/aria/m3u8/vod/M3U8VodLoader.java:149
↓ 2 callers
Method
startTimer
启动监听定时器,当网络断开时,如果该任务的FTP服务器的传输线程没有断开,当客户端重新连接时,客户端将无法发送数据到服务端 每隔10s检查一次。
FtpComponent/src/main/java/com/arialyy/aria/ftp/upload/FtpUThreadTaskAdapter.java:133
↓ 2 callers
Method
stopSubTask
停止任务组中的子任务 @param url 子任务下载地址
Aria/src/main/java/com/arialyy/aria/core/manager/SubTaskManager.java:55
↓ 2 callers
Method
stopTask
(TASK task)
Aria/src/main/java/com/arialyy/aria/core/queue/AbsTaskQueue.java:275
↓ 2 callers
Method
stou
A convenience method to send the FTP STOU command to the server, receive the reply, and return the reply code. Remember, it is up to you to manage th
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTP.java:1163
↓ 2 callers
Method
syst
A convenience method to send the FTP SYST command to the server, receive the reply, and return the reply code. @return The reply code received from t
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTP.java:1620
↓ 2 callers
Method
toByte
(String hexString)
AppFrame/src/main/java/com/arialyy/frame/util/AESEncryption.java:128
↓ 2 callers
Method
toCidrNotation
(String addr, String mask)
FtpComponent/src/main/java/aria/apache/commons/net/util/SubnetUtils.java:392
↓ 2 callers
Method
toString
@since 3.0
FtpComponent/src/main/java/aria/apache/commons/net/io/CopyStreamEvent.java:101
↓ 2 callers
Method
transformStringToCalendar
把String类型的日期转换成Calendar对象 @param string (日期时间:2000-00-00 00:00:00)
AppFrame/src/main/java/com/arialyy/frame/util/CalendarUtils.java:47
↓ 2 callers
Method
tunnelHandshake
(String host, int port, InputStream input, OutputStream output)
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPHTTPClient.java:140
↓ 2 callers
Method
type
A convenience method to send the FTP TYPE command for text files to the server, receive the reply, and return the reply code. @param fileType The typ
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTP.java:1033
↓ 2 callers
Method
up
()
app/src/main/java/com/arialyy/simple/common/DirChooseDialog.java:107
↓ 2 callers
Method
updateManyData
修改多条数据
PublicComponent/src/main/java/com/arialyy/aria/orm/DbEntity.java:193
↓ 2 callers
Method
updateStateCount
()
M3U8Component/src/main/java/com/arialyy/aria/m3u8/vod/VodStateManager.java:185
↓ 2 callers
Method
upload
()
app/src/main/java/com/arialyy/simple/core/upload/HttpUploadActivity.java:85
↓ 2 callers
Method
upload
(int progress)
app/src/main/java/com/arialyy/simple/core/download/service/DownloadNotification.java:49
↓ 2 callers
Method
useServerFileName
是否使用服务器通过content-disposition传递的文件名,内容格式{@code attachment;filename= } 如果获取不到服务器文件名,则使用用户设置的文件名 @param use {@code true} 使用
Aria/src/main/java/com/arialyy/aria/core/common/HttpOption.java:157
↓ 2 callers
Method
user
A convenience method to send the FTP USER command to the server, receive the reply, and return the reply code. @param username The username to login
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTP.java:750
↓ 2 callers
Method
writeDiskCache
把缓存写入磁盘 @param key 缓存的key,通过该key来读写缓存,一般是URL @param data 缓存的数据
AppFrame/src/main/java/com/arialyy/frame/cache/AbsCache.java:143
↓ 1 callers
Method
BuildLoaderStructure
获取构造器
PublicComponent/src/main/java/com/arialyy/aria/core/loader/AbsNormalLoaderUtil.java:56
↓ 1 callers
Method
__createParser
(String parserKey)
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPClient.java:3155
↓ 1 callers
Method
__lenientCheck
(String line)
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTP.java:288
↓ 1 callers
Method
__noop
Send a noop and get the reply without reporting to the command listener. Intended for use with keep-alive. @throws IOException on error @since 3.0
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTP.java:538
↓ 1 callers
Method
__parsePathname
(String reply)
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPClient.java:531
↓ 1 callers
Method
__strictCheck
(String line, String code)
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTP.java:279
↓ 1 callers
Method
_connectAction_
Because there are so many connect() methods, the _connectAction_() method is provided as a means of performing some action immediately after establish
FtpComponent/src/main/java/aria/apache/commons/net/SocketClient.java:153
↓ 1 callers
Method
_connectAction_
Initiates control connections and gets initial reply. Initializes {@link #_controlInput_} and {@link #_controlOutput_}.
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTP.java:385
↓ 1 callers
Method
_prepareDataSocket_
Performs any custom initialization for a newly created SSLSocket (before the SSL handshake happens). Called by {@link #_openDataConnection_(int, Strin
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPSClient.java:685
↓ 1 callers
Method
_retrieveFile
@param command the command to get @param remote the remote file name @param local the local file name @return true if successful @throws IOException o
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPClient.java:1784
↓ 1 callers
Method
_retrieveFileStream
@param command the command to send @param remote the remote file name @return the stream from which to read the file @throws IOException on error @sin
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPClient.java:1861
↓ 1 callers
Method
_storeFile
@param command the command to send @param remote the remote file name @param local the local file name @return true if successful @throws IOException
FtpComponent/src/main/java/aria/apache/commons/net/ftp/FTPClient.java:642
← previous
next →
1,001–1,100 of 4,264, ranked by callers