- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for readonly (0.22 sec)
-
src/test/java/jcifs/tests/FileAttributesTest.java
try ( SmbFile f = createTestFile() ) { try { int attrs = f.getAttributes() ^ SmbConstants.ATTR_ARCHIVE ^ SmbConstants.ATTR_HIDDEN ^ SmbConstants.ATTR_READONLY; if ( Boolean.parseBoolean(getProperties().getOrDefault("test.skip.hidden", "false")) ) { attrs &= ~SmbConstants.ATTR_HIDDEN; } f.setAttributes(attrs);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java
} public int getType() { return (type & 0x80000000) != 0 ? SmbFile.TYPE_WORKGROUP : SmbFile.TYPE_SERVER; } public int getAttributes() { return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY; } public long createTime() { return 0L; } public long lastModified() { return 0L; } public long length() {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
static final int CAP_LARGE_WRITEX = 0x8000; static final int CAP_EXTENDED_SECURITY = 0x80000000; // file attribute encoding /** * File is marked read-only */ static final int ATTR_READONLY = 0x01; /** * File is marked hidden */ static final int ATTR_HIDDEN = 0x02; /** * File is marked a system file */ static final int ATTR_SYSTEM = 0x04; /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
log.trace("copyTo0", sae); int dattrs = dest.getAttributes(); if ( ( dattrs & SmbConstants.ATTR_READONLY ) != 0 ) { /* * Remove READONLY and try again */ dest.setPathInformation(dattrs & ~SmbConstants.ATTR_READONLY, 0L, 0L, 0L); return dest.openUnshared(
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java
case 3: return SmbConstants.TYPE_NAMED_PIPE; } return SmbConstants.TYPE_SHARE; } @Override public int getAttributes () { return SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY; } @Override public long createTime () { return 0L; } @Override public long lastModified () { return 0L; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Feb 17 09:30:57 GMT 2019 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
static final int CAP_NT_FIND = 0x0200; static final int CAP_DFS = 0x1000; static final int CAP_EXTENDED_SECURITY = 0x80000000; // file attribute encoding static final int ATTR_READONLY = 0x01; static final int ATTR_HIDDEN = 0x02; static final int ATTR_SYSTEM = 0x04; static final int ATTR_VOLUME = 0x08; static final int ATTR_DIRECTORY = 0x10;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
*/ @SuppressWarnings ( "resource" ) public SmbFileInputStream ( String url, CIFSContext tc ) throws SmbException, MalformedURLException { this(new SmbFile(url, tc), 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, true); } /** * Creates an {@link java.io.InputStream} for reading bytes from a file on * an SMB server represented by the {@link jcifs.smb.SmbFile} parameter. See
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun May 17 08:55:14 GMT 2020 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
* * @param file An <code>SmbFile</code> specifying the file to read from */ public SmbFileInputStream( SmbFile file ) throws SmbException, MalformedURLException, UnknownHostException { this( file, SmbFile.O_RDONLY ); } SmbFileInputStream( SmbFile file, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException { this.file = file; this.openFlags = openFlags & 0xFFFF;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
return ( this.type & 0x80000000 ) != 0 ? SmbConstants.TYPE_WORKGROUP : SmbConstants.TYPE_SERVER; } @Override public int getAttributes () { return SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY; } /** * {@inheritDoc} * * @see jcifs.smb.FileEntry#getFileIndex() */ @Override
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 5.6K bytes - Viewed (0)